pub struct FilterConfig {
pub filter_type: FilterType,
pub property: u32,
}
Available on crate feature
xz
only.Expand description
Configuration for a filter in the XZ filter chain.
Fields§
§filter_type: FilterType
Filter type to use.
property: u32
Property to use.
Implementations§
Source§impl FilterConfig
impl FilterConfig
Sourcepub fn new_bcj_x86(start_pos: u32) -> Self
pub fn new_bcj_x86(start_pos: u32) -> Self
Creates a new BCJ x86 filter configuration.
Sourcepub fn new_bcj_arm(start_pos: u32) -> Self
pub fn new_bcj_arm(start_pos: u32) -> Self
Creates a new BCJ ARM filter configuration.
Sourcepub fn new_bcj_arm_thumb(start_pos: u32) -> Self
pub fn new_bcj_arm_thumb(start_pos: u32) -> Self
Creates a new BCJ ARM Thumb filter configuration.
Sourcepub fn new_bcj_arm64(start_pos: u32) -> Self
pub fn new_bcj_arm64(start_pos: u32) -> Self
Creates a new BCJ ARM64 filter configuration.
Sourcepub fn new_bcj_ia64(start_pos: u32) -> Self
pub fn new_bcj_ia64(start_pos: u32) -> Self
Creates a new BCJ IA64 filter configuration.
Sourcepub fn new_bcj_ppc(start_pos: u32) -> Self
pub fn new_bcj_ppc(start_pos: u32) -> Self
Creates a new BCJ PPC filter configuration.
Sourcepub fn new_bcj_sparc(start_pos: u32) -> Self
pub fn new_bcj_sparc(start_pos: u32) -> Self
Creates a new BCJ SPARC filter configuration.
Sourcepub fn new_bcj_risc_v(start_pos: u32) -> Self
pub fn new_bcj_risc_v(start_pos: u32) -> Self
Creates a new BCJ RISC-V filter configuration.
Trait Implementations§
Source§impl Clone for FilterConfig
impl Clone for FilterConfig
Source§fn clone(&self) -> FilterConfig
fn clone(&self) -> FilterConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for FilterConfig
impl RefUnwindSafe for FilterConfig
impl Send for FilterConfig
impl Sync for FilterConfig
impl Unpin for FilterConfig
impl UnwindSafe for FilterConfig
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