Struct tantivy_bitpacker::BitPacker
source · pub struct BitPacker { /* private fields */ }
Implementations§
source§impl BitPacker
impl BitPacker
pub fn new() -> BitPacker
pub fn write<TWrite: Write + ?Sized>( &mut self, val: u64, num_bits: u8, output: &mut TWrite ) -> Result<()>
pub fn flush<TWrite: Write + ?Sized>( &mut self, output: &mut TWrite ) -> Result<()>
pub fn close<TWrite: Write + ?Sized>( &mut self, output: &mut TWrite ) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BitPacker
impl RefUnwindSafe for BitPacker
impl Send for BitPacker
impl Sync for BitPacker
impl Unpin for BitPacker
impl UnwindSafe for BitPacker
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