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
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),
Trait Implementations
impl<SliceType: Debug + SliceWrapper<u8>> Debug for Command<SliceType>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<SliceType: SliceWrapper<u8>> Default for Command<SliceType>
[src]
impl<SliceType: SliceWrapper<u8>> Nop<Command<SliceType>> for Command<SliceType>
[src]
impl<SliceType: SliceWrapper<u8> + Clone> Clone for Command<SliceType>
[src]
fn clone(&self) -> Command<SliceType>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more