struct Table {
inner: Vec<Link>,
depths: Vec<u16>,
}
Fields§
§inner: Vec<Link>
§depths: Vec<u16>
Implementations§
source§impl Table
impl Table
fn new() -> Self
fn clear(&mut self, min_size: u8)
fn init(&mut self, min_size: u8)
fn at(&self, code: u16) -> &Link
fn is_empty(&self) -> bool
fn is_full(&self) -> bool
fn derive(&mut self, from: &Link, byte: u8, prev: u16) -> Link
fn reconstruct(&self, code: u16, out: &mut [u8]) -> u8
Auto Trait Implementations§
impl Freeze for Table
impl RefUnwindSafe for Table
impl Send for Table
impl Sync for Table
impl Unpin for Table
impl UnwindSafe for Table
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