pub struct StackText<const N: usize> { /* private fields */ }Available on crate feature
zeroize only.Expand description
A bounded temporary text buffer whose entire storage is wiped on drop. Formatting writes directly into the owner, without intermediate heap strings.
Implementations§
Trait Implementations§
Source§impl<const N: usize> Write for StackText<N>
impl<const N: usize> Write for StackText<N>
impl<const N: usize> ZeroizeOnDrop for StackText<N>
Auto Trait Implementations§
impl<const N: usize> Forget for StackText<N>
impl<const N: usize> Freeze for StackText<N>
impl<const N: usize> Move for StackText<N>
impl<const N: usize> RefUnwindSafe for StackText<N>
impl<const N: usize> Send for StackText<N>
impl<const N: usize> Sync for StackText<N>
impl<const N: usize> Unpin for StackText<N>
impl<const N: usize> UnsafeUnpin for StackText<N>
impl<const N: usize> UnwindSafe for StackText<N>
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