pub(crate) struct Packer {
current: u64,
filled: u32,
}Expand description
Packs bits selected from successive words into complete output words.
Fields§
§current: u64Bits waiting to be written.
filled: u32Number of populated low bits in current.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Packer
impl Freeze for Packer
impl Move for Packer
impl RefUnwindSafe for Packer
impl Send for Packer
impl Sync for Packer
impl Unpin for Packer
impl UnsafeUnpin for Packer
impl UnwindSafe for Packer
Blanket Implementations§
impl<T> Allocation for T
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