pub struct Options { /* private fields */ }Expand description
Options for large-window and LDM compression, orthogonal to level.
Pass to compress_opts or
FrameEncoder::with_options.
Implementations§
Source§impl Options
impl Options
Sourcepub fn window_log(self, log: u32) -> Self
pub fn window_log(self, log: u32) -> Self
Sets the window to 2^log bytes. log is clamped to
WINDOW_LOG_MIN..=WINDOW_LOG_MAX, 1 KiB to 128 MiB, and 0
selects the level’s default, as in C zstd. One-shot calls shrink the
window to the input.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Options
impl Freeze for Options
impl Move for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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