pub struct LzCompressor {
pub config: LzConfig,
}Expand description
LZ77/LZSS compressor.
Fields§
§config: LzConfigImplementations§
Source§impl LzCompressor
impl LzCompressor
pub fn new(config: LzConfig) -> Self
pub fn default_compressor() -> Self
pub fn with_window_size(window_size: usize) -> Self
Trait Implementations§
Source§impl Clone for LzCompressor
impl Clone for LzCompressor
Source§fn clone(&self) -> LzCompressor
fn clone(&self) -> LzCompressor
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LzCompressor
impl RefUnwindSafe for LzCompressor
impl Send for LzCompressor
impl Sync for LzCompressor
impl Unpin for LzCompressor
impl UnsafeUnpin for LzCompressor
impl UnwindSafe for LzCompressor
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