[−][src]Enum brotli::enc::interface::Command
Variants
Copy(CopyCommand)
Dict(DictCommand)
Literal(LiteralCommand<SliceType>)
BlockSwitchCommand(BlockSwitch)
BlockSwitchLiteral(LiteralBlockSwitch)
BlockSwitchDistance(BlockSwitch)
PredictionMode(PredictionModeContextMap<SliceType>)
Methods
impl<SliceType: SliceWrapper<u8> + Default> Command<SliceType>
[src]
pub fn free_array<F>(&mut self, apply_func: &mut F) where
F: FnMut(SliceType),
[src]
F: FnMut(SliceType),
impl<SliceType: SliceWrapper<u8> + Freezable> Command<SliceType>
[src]
pub fn freeze(&self) -> Command<SliceOffset>
[src]
Trait Implementations
impl<AllocU8: Allocator<u8>, AllocU16: Allocator<u16>, AllocI32: Allocator<i32>, AllocU32: Allocator<u32>, AllocU64: Allocator<u64>, AllocCommand: Allocator<Command>, AllocFloatX: Allocator<floatX>, AllocV8: Allocator<v8>, AllocS16: Allocator<s16>, AllocPDF: Allocator<PDF>, AllocStaticCommand: Allocator<StaticCommand>, AllocHistogramLiteral: Allocator<HistogramLiteral>, AllocHistogramCommand: Allocator<HistogramCommand>, AllocHistogramDistance: Allocator<HistogramDistance>, AllocHistogramPair: Allocator<HistogramPair>, AllocContextType: Allocator<ContextType>, AllocHuffmanTree: Allocator<HuffmanTree>, AllocZopfliNode: Allocator<ZopfliNode>> Allocator<Command<SliceOffset>> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>
[src]
type AllocatedMemory = AllocStaticCommand::AllocatedMemory
fn alloc_cell(&mut self, size: usize) -> Self::AllocatedMemory
[src]
fn free_cell(&mut self, data: Self::AllocatedMemory)
[src]
impl<SliceType: SliceWrapper<u8> + Clone> Clone for Command<SliceType>
[src]
impl<SliceType: SliceWrapper<u8> + Clone + Copy> Copy for Command<SliceType>
[src]
impl<SliceType: Debug + SliceWrapper<u8>> Debug for Command<SliceType>
[src]
impl<SliceType: SliceWrapper<u8>> Default for Command<SliceType>
[src]
impl<SliceType: SliceWrapper<u8>> Nop<Command<SliceType>> for Command<SliceType>
[src]
Auto Trait Implementations
impl<SliceType> RefUnwindSafe for Command<SliceType> where
SliceType: RefUnwindSafe,
SliceType: RefUnwindSafe,
impl<SliceType> Send for Command<SliceType> where
SliceType: Send,
SliceType: Send,
impl<SliceType> Sync for Command<SliceType> where
SliceType: Sync,
SliceType: Sync,
impl<SliceType> Unpin for Command<SliceType> where
SliceType: Unpin,
SliceType: Unpin,
impl<SliceType> UnwindSafe for Command<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>,