Struct brotli::enc::interface::PredictionModeContextMap [−][src]
pub struct PredictionModeContextMap<SliceType: SliceWrapper<u8>> { pub literal_context_map: SliceType, pub predmode_speed_and_distance_context_map: SliceType, }
Fields
literal_context_map: SliceType
predmode_speed_and_distance_context_map: SliceType
Implementations
pub fn distance_context_map_mut(&mut self) -> &mut [u8]ⓘ
pub fn get_mixing_values_mut(&mut self) -> &mut [u8]ⓘ
pub fn from_mut<Other: SliceWrapper<u8>>(
other: PredictionModeContextMap<Other>
) -> PredictionModeContextMap<SliceType> where
SliceType: From<Other>,
pub fn get_mixing_values(&self) -> &[u8]ⓘ
pub fn context_speeds_f8(&self) -> &[u8]ⓘ
pub fn distance_context_map(&self) -> &[u8]ⓘ
Trait Implementations
Auto Trait Implementations
impl<SliceType> RefUnwindSafe for PredictionModeContextMap<SliceType> where
SliceType: RefUnwindSafe,
impl<SliceType> Send for PredictionModeContextMap<SliceType> where
SliceType: Send,
impl<SliceType> Sync for PredictionModeContextMap<SliceType> where
SliceType: Sync,
impl<SliceType> Unpin for PredictionModeContextMap<SliceType> where
SliceType: Unpin,
impl<SliceType> UnwindSafe for PredictionModeContextMap<SliceType> where
SliceType: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more