pub struct FmtBuf<'a> { /* private fields */ }Expand description
Zero-allocation stack buffer that implements core::fmt::Write.
One byte is always reserved for a null terminator so that as_cstr
can return a C-compatible string without a mutable borrow.
Implementations§
Source§impl<'a> FmtBuf<'a>
impl<'a> FmtBuf<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for FmtBuf<'a>
impl<'a> RefUnwindSafe for FmtBuf<'a>
impl<'a> Send for FmtBuf<'a>
impl<'a> Sync for FmtBuf<'a>
impl<'a> Unpin for FmtBuf<'a>
impl<'a> !UnwindSafe for FmtBuf<'a>
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