pub struct BitWriter<W> {
inner: W,
buf: u32,
end: u8,
}
Fields§
§inner: W
§buf: u32
§end: u8
Implementations§
source§impl<W> BitWriter<W>
impl<W> BitWriter<W>
pub fn as_inner_ref(&self) -> &W
pub fn as_inner_mut(&mut self) -> &mut W
pub fn into_inner(self) -> W
Trait Implementations§
Auto Trait Implementations§
impl<W> RefUnwindSafe for BitWriter<W>where W: RefUnwindSafe,
impl<W> Send for BitWriter<W>where W: Send,
impl<W> Sync for BitWriter<W>where W: Sync,
impl<W> Unpin for BitWriter<W>where W: Unpin,
impl<W> UnwindSafe for BitWriter<W>where W: UnwindSafe,
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