pub struct EntropyChannelDescriptor {
pub coder: u8,
pub coder_version: u16,
pub scale_bits: u8,
pub lane_count: u8,
pub model_id: u32,
pub symbol_count: u64,
pub decoded_length: u64,
pub initial_state: u32,
pub payload: Vec<u8>,
}Expand description
A complete decoder-entry descriptor for one entropy channel.
Fields§
§coder: u8Coder selector (must be CODER_ORDER0_BYTE_RANS).
coder_version: u16Coder wire version (must be CODER_VERSION_1).
scale_bits: u8Model scale bits; must match the referenced model.
lane_count: u8Lane count (only single-lane channels are supported).
model_id: u32Index into the descriptor’s entropy-model table.
symbol_count: u64Number of symbols encoded.
decoded_length: u64Exact decoded length in bytes.
initial_state: u32Decoder initial state (scalar single lane).
payload: Vec<u8>Renormalization payload in forward decoder-consumption order.
Implementations§
Trait Implementations§
Source§impl Clone for EntropyChannelDescriptor
impl Clone for EntropyChannelDescriptor
Source§impl Debug for EntropyChannelDescriptor
impl Debug for EntropyChannelDescriptor
impl Eq for EntropyChannelDescriptor
Source§impl PartialEq for EntropyChannelDescriptor
impl PartialEq for EntropyChannelDescriptor
impl StructuralPartialEq for EntropyChannelDescriptor
Auto Trait Implementations§
impl Freeze for EntropyChannelDescriptor
impl RefUnwindSafe for EntropyChannelDescriptor
impl Send for EntropyChannelDescriptor
impl Sync for EntropyChannelDescriptor
impl Unpin for EntropyChannelDescriptor
impl UnsafeUnpin for EntropyChannelDescriptor
impl UnwindSafe for EntropyChannelDescriptor
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