#[repr(C)]pub struct LZ_encoder {Show 16 fields
pub eb: LzEncoderBase,
pub cycles: c_int,
pub match_len_limit: c_int,
pub match_len_prices: LenPrices,
pub rep_len_prices: LenPrices,
pub pending_num_pairs: c_int,
pub pairs: [Pair; 274],
pub trials: [Trial; 8192],
pub dis_slot_prices: [[c_int; 58]; 4],
pub dis_prices: [[c_int; 128]; 4],
pub align_prices: [c_int; 16],
pub num_dis_slots: c_int,
pub price_counter: c_int,
pub dis_price_counter: c_int,
pub align_price_counter: c_int,
pub been_flushed: bool,
}Fields§
§eb: LzEncoderBase§cycles: c_int§match_len_limit: c_int§match_len_prices: LenPrices§rep_len_prices: LenPrices§pending_num_pairs: c_int§pairs: [Pair; 274]§trials: [Trial; 8192]§dis_slot_prices: [[c_int; 58]; 4]§dis_prices: [[c_int; 128]; 4]§align_prices: [c_int; 16]§num_dis_slots: c_int§price_counter: c_int§dis_price_counter: c_int§align_price_counter: c_int§been_flushed: boolTrait Implementations§
Source§impl Clone for LZ_encoder
impl Clone for LZ_encoder
Source§fn clone(&self) -> LZ_encoder
fn clone(&self) -> LZ_encoder
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 moreSource§impl Debug for LZ_encoder
impl Debug for LZ_encoder
impl Copy for LZ_encoder
Auto Trait Implementations§
impl Freeze for LZ_encoder
impl RefUnwindSafe for LZ_encoder
impl !Send for LZ_encoder
impl !Sync for LZ_encoder
impl Unpin for LZ_encoder
impl UnwindSafe for LZ_encoder
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