pub struct WriteBuffer { /* private fields */ }
Expand description
A buffer which implements the fmt::Write
trait.
Implementations§
Source§impl WriteBuffer
impl WriteBuffer
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Create a new empty WriteBuffer
Sourcepub fn clear(&mut self)
pub fn clear(&mut self)
Clear the contents in the WriteBuffer
Trait Implementations§
Source§impl AsRef<[u8]> for WriteBuffer
impl AsRef<[u8]> for WriteBuffer
Source§impl AsRef<str> for WriteBuffer
impl AsRef<str> for WriteBuffer
Source§impl Debug for WriteBuffer
impl Debug for WriteBuffer
Auto Trait Implementations§
impl Freeze for WriteBuffer
impl RefUnwindSafe for WriteBuffer
impl Send for WriteBuffer
impl Sync for WriteBuffer
impl Unpin for WriteBuffer
impl UnwindSafe for WriteBuffer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more