Struct brotli::enc::prior_eval::Stride2Prior
source · pub struct Stride2Prior {}
Implementations§
Trait Implementations§
source§impl Prior for Stride2Prior
impl Prior for Stride2Prior
fn lookup_lin( stride_byte: u8, selected_context: u8, actual_context: usize, high_nibble: Option<u8>, ) -> usize
fn which() -> usize
fn lookup_mut( data: &mut [s16], stride_byte: u8, selected_context: u8, actual_context: usize, high_nibble: Option<u8>, ) -> CDF<'_>
fn lookup( data: &[s16], stride_byte: u8, selected_context: u8, actual_context: usize, high_nibble: Option<u8>, ) -> &s16
fn score_index( stride_byte: u8, selected_context: u8, actual_context: usize, high_nibble: Option<u8>, ) -> usize
Auto Trait Implementations§
impl Freeze for Stride2Prior
impl RefUnwindSafe for Stride2Prior
impl Send for Stride2Prior
impl Sync for Stride2Prior
impl Unpin for Stride2Prior
impl UnwindSafe for Stride2Prior
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