pub struct Buffer { /* fields omitted */ }
Expand description
A safe API for formatting integers to text.
let mut buffer = itoa::Buffer::new();
let printed = buffer.format(1234);
assert_eq!(printed, "1234");
This is a cheap operation; you don’t need to worry about reusing buffers
for efficiency.
Print an integer into this buffer and return a reference to its string representation
within the buffer.
Performs copy-assignment from source
. Read more
Returns the “default value” for a type. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.