Type Alias brotli::enc::interface::StaticCommand

source ·
pub type StaticCommand = Command<SliceOffset>;

Aliased Type§

enum StaticCommand {
    Copy(CopyCommand),
    Dict(DictCommand),
    Literal(LiteralCommand<SliceOffset>),
    BlockSwitchCommand(BlockSwitch),
    BlockSwitchLiteral(LiteralBlockSwitch),
    BlockSwitchDistance(BlockSwitch),
    PredictionMode(PredictionModeContextMap<SliceOffset>),
}

Variants§

§

Copy(CopyCommand)

§

Dict(DictCommand)

§

Literal(LiteralCommand<SliceOffset>)

§

BlockSwitchCommand(BlockSwitch)

§

BlockSwitchLiteral(LiteralBlockSwitch)

§

BlockSwitchDistance(BlockSwitch)

§

PredictionMode(PredictionModeContextMap<SliceOffset>)

Implementations§

source§

impl<SliceType: SliceWrapper<u8> + Default> Command<SliceType>

source

pub fn free_array<F>(&mut self, apply_func: &mut F)where F: FnMut(SliceType),

source§

impl<SliceType: SliceWrapper<u8> + Freezable> Command<SliceType>

source

pub fn freeze(&self) -> Command<SliceOffset>

Trait Implementations§

source§

impl<SliceType: SliceWrapper<u8> + Clone> Clone for Command<SliceType>

source§

fn clone(&self) -> Command<SliceType>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<SliceType: Debug + SliceWrapper<u8>> Debug for Command<SliceType>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<SliceType: SliceWrapper<u8>> Default for Command<SliceType>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<SliceType: SliceWrapper<u8>> Nop<Command<SliceType>> for Command<SliceType>

source§

fn nop() -> Command<SliceType>

source§

impl<SliceType: SliceWrapper<u8> + Clone + Copy> Copy for Command<SliceType>