pub struct RlzBuilder { /* private fields */ }Expand description
RLZ compressor builder
Implementations§
Source§impl RlzBuilder
impl RlzBuilder
Sourcepub fn literal_threshold(self, threshold: u32) -> RlzBuilder
pub fn literal_threshold(self, threshold: u32) -> RlzBuilder
Specificy the minimum length of a factor
Sourcepub fn factor_coder(self, factor_coder: Coder) -> RlzBuilder
pub fn factor_coder(self, factor_coder: Coder) -> RlzBuilder
Sepcify the compression codec used for compressing factors
Sourcepub fn build_from_dict(self, dict: Dictionary) -> RlzCompressor
pub fn build_from_dict(self, dict: Dictionary) -> RlzCompressor
build RLZ compressor from config and dictionary
Trait Implementations§
Source§impl Default for RlzBuilder
impl Default for RlzBuilder
Source§fn default() -> RlzBuilder
fn default() -> RlzBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RlzBuilder
impl RefUnwindSafe for RlzBuilder
impl Send for RlzBuilder
impl Sync for RlzBuilder
impl Unpin for RlzBuilder
impl UnwindSafe for RlzBuilder
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