pub struct J2kTier1TokenSegment {
pub token_bit_offset: u32,
pub token_bit_count: u32,
pub start_coding_pass: u8,
pub end_coding_pass: u8,
pub use_arithmetic: bool,
}Expand description
Adapter Classic Tier-1 compact token segment for backend experimentation.
Fields§
§token_bit_offset: u32Bit offset of this segment within the compact token buffer.
token_bit_count: u32Number of token bits in this segment.
Arithmetic segments contain 6-bit MQ tokens. Raw bypass segments contain one bit per raw bypass event.
start_coding_pass: u8First coding pass covered by this segment.
end_coding_pass: u8One-past-last coding pass covered by this segment.
use_arithmetic: boolWhether this segment should be packed through the MQ arithmetic path.
Trait Implementations§
Source§impl Clone for J2kTier1TokenSegment
impl Clone for J2kTier1TokenSegment
Source§fn clone(&self) -> J2kTier1TokenSegment
fn clone(&self) -> J2kTier1TokenSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for J2kTier1TokenSegment
Source§impl Debug for J2kTier1TokenSegment
impl Debug for J2kTier1TokenSegment
impl Eq for J2kTier1TokenSegment
Source§impl PartialEq for J2kTier1TokenSegment
impl PartialEq for J2kTier1TokenSegment
Source§fn eq(&self, other: &J2kTier1TokenSegment) -> bool
fn eq(&self, other: &J2kTier1TokenSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for J2kTier1TokenSegment
Auto Trait Implementations§
impl Freeze for J2kTier1TokenSegment
impl RefUnwindSafe for J2kTier1TokenSegment
impl Send for J2kTier1TokenSegment
impl Sync for J2kTier1TokenSegment
impl Unpin for J2kTier1TokenSegment
impl UnsafeUnpin for J2kTier1TokenSegment
impl UnwindSafe for J2kTier1TokenSegment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more