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