pub struct WriteBuffer<const N: usize> { /* fields omitted */ }
pub fn new() -> Self
[src]
Returns the valid portion of the buffer as slice
Reset the buffer to be reused
Converts the buffer in &str
, returnig None if some bytes doesn’t resemble valid utf-8
pub fn len(&self) -> usize
[src]
Returns the used bytes in the buffer
Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
Writes a string slice into this writer, returning whether the write
succeeded. Read more
Writes a char
into this writer, returning whether the write succeeded. Read more
Glue for usage of the write!
macro with implementors of this trait. Read more
impl<T> Any for T where
T: 'static + ?Sized,
[src]
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>,
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.