pub enum Command<SliceType>where
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>)
Implementations§
Source§impl<SliceType> Command<SliceType>
impl<SliceType> Command<SliceType>
pub fn free_array<F>(&mut self, apply_func: &mut F)where
F: FnMut(SliceType),
Trait Implementations§
Source§impl<SliceType> Nop<Command<SliceType>> for Command<SliceType>where
SliceType: SliceWrapper<u8>,
impl<SliceType> Nop<Command<SliceType>> for Command<SliceType>where
SliceType: SliceWrapper<u8>,
impl<SliceType> Copy for Command<SliceType>
Auto Trait Implementations§
impl<SliceType> Freeze for Command<SliceType>where
SliceType: Freeze,
impl<SliceType> RefUnwindSafe for Command<SliceType>where
SliceType: RefUnwindSafe,
impl<SliceType> Send for Command<SliceType>where
SliceType: Send,
impl<SliceType> Sync for Command<SliceType>where
SliceType: Sync,
impl<SliceType> Unpin for Command<SliceType>where
SliceType: Unpin,
impl<SliceType> UnwindSafe for Command<SliceType>where
SliceType: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more