Trait brotli::enc::prior_eval::Prior
source · pub trait Prior {
// Required methods
fn lookup_lin(
stride_byte: u8,
selected_context: u8,
actual_context: usize,
high_nibble: Option<u8>,
) -> usize;
fn which() -> usize;
// Provided methods
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 { ... }
}
Required Methods§
fn lookup_lin( stride_byte: u8, selected_context: u8, actual_context: usize, high_nibble: Option<u8>, ) -> usize
fn which() -> usize
Provided Methods§
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
Object Safety§
This trait is not object safe.