pub struct DParameter(/* private fields */);
Available on crate feature
zstd
only.Expand description
A decompression parameter for zstd. This is a stable wrapper around zstd’s own DParameter
type, to abstract over different versions of the zstd library.
See the zstd documentation for more information on these parameters.
Implementations§
Source§impl DParameter
impl DParameter
Sourcepub fn window_log_max(value: u32) -> Self
pub fn window_log_max(value: u32) -> Self
Maximum window size in bytes (as a power of two)
Trait Implementations§
Source§impl Clone for DParameter
impl Clone for DParameter
Source§fn clone(&self) -> DParameter
fn clone(&self) -> DParameter
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DParameter
impl Debug for DParameter
Source§impl PartialEq for DParameter
impl PartialEq for DParameter
impl Copy for DParameter
impl Eq for DParameter
impl StructuralPartialEq for DParameter
Auto Trait Implementations§
impl Freeze for DParameter
impl RefUnwindSafe for DParameter
impl Send for DParameter
impl Sync for DParameter
impl Unpin for DParameter
impl UnwindSafe for DParameter
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