Struct brotli_ffi::enc::command::Command
source · pub struct Command {
pub insert_len_: u32,
pub copy_len_: u32,
pub dist_extra_: u32,
pub cmd_prefix_: u16,
pub dist_prefix_: u16,
}
Fields
insert_len_: u32
copy_len_: u32
dist_extra_: u32
cmd_prefix_: u16
dist_prefix_: u16
Trait Implementations
sourceimpl<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode> Allocator<Command> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>where
AllocU8: Allocator<u8>,
AllocU16: Allocator<u16>,
AllocI32: Allocator<i32>,
AllocU32: Allocator<u32>,
AllocU64: Allocator<u64>,
AllocCommand: Allocator<Command>,
AllocFloatX: Allocator<f32>,
AllocV8: Allocator<CompatF8>,
AllocS16: Allocator<Compat16x16>,
AllocPDF: Allocator<PDF>,
AllocStaticCommand: Allocator<Command<SliceOffset>>,
AllocHistogramLiteral: Allocator<HistogramLiteral>,
AllocHistogramCommand: Allocator<HistogramCommand>,
AllocHistogramDistance: Allocator<HistogramDistance>,
AllocHistogramPair: Allocator<HistogramPair>,
AllocContextType: Allocator<ContextType>,
AllocHuffmanTree: Allocator<HuffmanTree>,
AllocZopfliNode: Allocator<ZopfliNode>,
impl<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode> Allocator<Command> for CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode>where
AllocU8: Allocator<u8>,
AllocU16: Allocator<u16>,
AllocI32: Allocator<i32>,
AllocU32: Allocator<u32>,
AllocU64: Allocator<u64>,
AllocCommand: Allocator<Command>,
AllocFloatX: Allocator<f32>,
AllocV8: Allocator<CompatF8>,
AllocS16: Allocator<Compat16x16>,
AllocPDF: Allocator<PDF>,
AllocStaticCommand: Allocator<Command<SliceOffset>>,
AllocHistogramLiteral: Allocator<HistogramLiteral>,
AllocHistogramCommand: Allocator<HistogramCommand>,
AllocHistogramDistance: Allocator<HistogramDistance>,
AllocHistogramPair: Allocator<HistogramPair>,
AllocContextType: Allocator<ContextType>,
AllocHuffmanTree: Allocator<HuffmanTree>,
AllocZopfliNode: Allocator<ZopfliNode>,
type AllocatedMemory = <AllocCommand as Allocator<Command>>::AllocatedMemory
fn alloc_cell(
&mut self,
size: usize
) -> <CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode> as Allocator<Command>>::AllocatedMemory
fn free_cell(
&mut self,
data: <CombiningAllocator<AllocU8, AllocU16, AllocI32, AllocU32, AllocU64, AllocCommand, AllocFloatX, AllocV8, AllocS16, AllocPDF, AllocStaticCommand, AllocHistogramLiteral, AllocHistogramCommand, AllocHistogramDistance, AllocHistogramPair, AllocContextType, AllocHuffmanTree, AllocZopfliNode> as Allocator<Command>>::AllocatedMemory
)
impl Copy for Command
Auto Trait Implementations
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more