pub struct FieldWriter { /* private fields */ }Expand description
Writes one storage part’s fields in order. pack runs the same fields
twice: once to count their bytes, then into a buffer of exactly that size,
so no secret is left behind in a grown allocation.
Implementations§
Auto Trait Implementations§
impl Freeze for FieldWriter
impl RefUnwindSafe for FieldWriter
impl Send for FieldWriter
impl Sync for FieldWriter
impl Unpin for FieldWriter
impl UnsafeUnpin for FieldWriter
impl UnwindSafe for FieldWriter
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