Enum brotli::enc::interface::Command [−][src]
pub enum Command<SliceType: SliceWrapper<u8>> { Copy(CopyCommand), Dict(DictCommand), Literal(LiteralCommand<SliceType>), BlockSwitchCommand(BlockSwitch), BlockSwitchLiteral(LiteralBlockSwitch), BlockSwitchDistance(BlockSwitch), PredictionMode(PredictionModeContextMap<SliceType>), }
Variants
Tuple Fields of Copy
0: CopyCommand
Tuple Fields of Dict
0: DictCommand
Tuple Fields of Literal
0: LiteralCommand<SliceType>
Tuple Fields of BlockSwitchCommand
0: BlockSwitch
Tuple Fields of BlockSwitchLiteral
Tuple Fields of BlockSwitchDistance
0: BlockSwitch
Tuple Fields of PredictionMode
0: PredictionModeContextMap<SliceType>
Implementations
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>
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>
type AllocatedMemory = AllocStaticCommand::AllocatedMemory
Auto Trait Implementations
impl<SliceType> RefUnwindSafe for Command<SliceType> where
SliceType: RefUnwindSafe,
impl<SliceType> UnwindSafe for Command<SliceType> where
SliceType: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more