[−][src]Struct brotli::enc::interface::PredictionModeContextMap
Fields
literal_context_map: SliceType
predmode_speed_and_distance_context_map: SliceType
Implementations
impl<SliceType: SliceWrapper<u8> + SliceWrapperMut<u8>> PredictionModeContextMap<SliceType>
[src]
pub fn distance_context_map_mut(&mut self) -> &mut [u8]ⓘ
[src]
pub fn set_stride_context_speed(&mut self, speed_max: [(u16, u16); 2])
[src]
pub fn set_context_map_speed(&mut self, speed_max: [(u16, u16); 2])
[src]
pub fn set_mixing_math(&mut self, math_enum: u8)
[src]
pub fn set_adv_context_map(&mut self, is_adv: u8)
[src]
pub fn set_mixing_values(&mut self, mixing_mask: &[u8; 8192])
[src]
pub fn get_mixing_values_mut(&mut self) -> &mut [u8]ⓘ
[src]
pub fn set_combined_stride_context_speed(&mut self, speed_max: [(u16, u16); 2])
[src]
pub fn set_literal_prediction_mode(&mut self, val: LiteralPredictionModeNibble)
[src]
impl<SliceType: SliceWrapper<u8>> PredictionModeContextMap<SliceType>
[src]
pub fn from_mut<Other: SliceWrapper<u8>>(
other: PredictionModeContextMap<Other>
) -> PredictionModeContextMap<SliceType> where
SliceType: From<Other>,
[src]
other: PredictionModeContextMap<Other>
) -> PredictionModeContextMap<SliceType> where
SliceType: From<Other>,
pub fn get_mixing_values(&self) -> &[u8]ⓘ
[src]
pub fn get_mixing_math(&self) -> u8
[src]
pub fn get_is_adv_context_map(&self) -> u8
[src]
pub fn has_context_speeds(&self) -> bool
[src]
pub fn size_of_combined_array(distance_context_map_size: usize) -> usize
[src]
pub fn context_speeds_standard_len(&self) -> usize
[src]
pub fn context_speeds_f8(&self) -> &[u8]ⓘ
[src]
pub fn distance_context_map(&self) -> &[u8]ⓘ
[src]
pub fn f8_to_u16(data: u8) -> u16
[src]
pub fn u16_to_f8(data: u16) -> u8
[src]
pub fn stride_context_speed_offset() -> usize
[src]
pub fn stride_context_speed_max_offset() -> usize
[src]
pub fn context_map_speed_offset() -> usize
[src]
pub fn context_map_speed_max_offset() -> usize
[src]
pub fn combined_stride_context_speed_offset() -> usize
[src]
pub fn combined_stride_context_speed_max_offset() -> usize
[src]
pub fn literal_prediction_mode(&self) -> LiteralPredictionModeNibble
[src]
pub fn stride_context_speed(&self) -> [(u16, u16); 2]
[src]
pub fn context_map_speed(&self) -> [(u16, u16); 2]
[src]
pub fn combined_stride_context_speed(&self) -> [(u16, u16); 2]
[src]
pub fn stride_context_speed_f8(&self) -> [(u8, u8); 2]
[src]
pub fn combined_stride_context_speed_f8(&self) -> [(u8, u8); 2]
[src]
pub fn context_map_speed_f8(&self) -> [(u8, u8); 2]
[src]
Trait Implementations
impl<SliceType: SliceWrapper<u8> + Clone> Clone for PredictionModeContextMap<SliceType>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<SliceType: SliceWrapper<u8> + Clone + Copy> Copy for PredictionModeContextMap<SliceType>
[src]
impl<SliceType: Debug + SliceWrapper<u8>> Debug for PredictionModeContextMap<SliceType>
[src]
Auto Trait Implementations
impl<SliceType> RefUnwindSafe for PredictionModeContextMap<SliceType> where
SliceType: RefUnwindSafe,
SliceType: RefUnwindSafe,
impl<SliceType> Send for PredictionModeContextMap<SliceType> where
SliceType: Send,
SliceType: Send,
impl<SliceType> Sync for PredictionModeContextMap<SliceType> where
SliceType: Sync,
SliceType: Sync,
impl<SliceType> Unpin for PredictionModeContextMap<SliceType> where
SliceType: Unpin,
SliceType: Unpin,
impl<SliceType> UnwindSafe for PredictionModeContextMap<SliceType> where
SliceType: UnwindSafe,
SliceType: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,