pub struct CDict<'a>(_, _);
Expand description
Compression dictionary.
Implementations
sourceimpl CDict<'static>
impl CDict<'static>
pub fn create(dict_buffer: &[u8], compression_level: CompressionLevel) -> Self
pub fn try_create(
dict_buffer: &[u8],
compression_level: CompressionLevel
) -> Option<Self>
sourceimpl<'a> CDict<'a>
impl<'a> CDict<'a>
pub fn create_by_reference(
dict_buffer: &'a [u8],
compression_level: CompressionLevel
) -> Self
Available on crate feature
experimental
only.pub fn sizeof(&self) -> usize
pub fn get_dict_id(&self) -> u32
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more