pub struct BitWrite<'t> { /* private fields */ }
Expand description
The structure is required to cache unsaved bits.
The unsaved bits will be written when io_drop()
or drop()
is called.
Don’t create the structure directly.
Use the UseBitWrite::use_bit_write()
function to write bits.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'t> Freeze for BitWrite<'t>
impl<'t> !RefUnwindSafe for BitWrite<'t>
impl<'t> !Send for BitWrite<'t>
impl<'t> !Sync for BitWrite<'t>
impl<'t> Unpin for BitWrite<'t>
impl<'t> !UnwindSafe for BitWrite<'t>
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