[][src]Struct brotli::enc::stride_eval::StrideEval

pub struct StrideEval<'a, Alloc: Allocator<u16> + Allocator<u32> + Allocator<floatX> + 'a> { /* fields omitted */ }

Methods

impl<'a, Alloc: Allocator<u16> + Allocator<u32> + Allocator<floatX> + 'a> StrideEval<'a, Alloc>[src]

pub fn new(
    alloc: &'a mut Alloc,
    input: InputPair<'a>,
    prediction_mode: &'a PredictionModeContextMap<InputReferenceMut<'a>>,
    params: &BrotliEncoderParams
) -> Self
[src]

pub fn alloc(&mut self) -> &mut Alloc[src]

pub fn choose_stride(&self, stride_data: &mut [u8])[src]

pub fn num_types(&self) -> usize[src]

Trait Implementations

impl<'a, 'b, Alloc: Allocator<u16> + Allocator<u32> + Allocator<floatX>> CommandProcessor<'b> for StrideEval<'a, Alloc>[src]

impl<'a, Alloc: Allocator<u16> + Allocator<u32> + Allocator<floatX>> Drop for StrideEval<'a, Alloc>[src]

impl<'a, Alloc: Allocator<u16> + Allocator<u32> + Allocator<floatX>> IRInterpreter for StrideEval<'a, Alloc>[src]

Auto Trait Implementations

impl<'a, Alloc> RefUnwindSafe for StrideEval<'a, Alloc> where
    Alloc: RefUnwindSafe,
    <Alloc as Allocator<f32>>::AllocatedMemory: RefUnwindSafe,
    <Alloc as Allocator<u16>>::AllocatedMemory: RefUnwindSafe

impl<'a, Alloc> Send for StrideEval<'a, Alloc> where
    Alloc: Send,
    <Alloc as Allocator<f32>>::AllocatedMemory: Send,
    <Alloc as Allocator<u16>>::AllocatedMemory: Send

impl<'a, Alloc> Sync for StrideEval<'a, Alloc> where
    Alloc: Sync,
    <Alloc as Allocator<f32>>::AllocatedMemory: Sync,
    <Alloc as Allocator<u16>>::AllocatedMemory: Sync

impl<'a, Alloc> Unpin for StrideEval<'a, Alloc> where
    <Alloc as Allocator<f32>>::AllocatedMemory: Unpin,
    <Alloc as Allocator<u16>>::AllocatedMemory: Unpin

impl<'a, Alloc> !UnwindSafe for StrideEval<'a, Alloc>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.