pub struct Rans64;Expand description
Rans64 variant: u64 state, u32 unit.
Trait Implementations§
impl Copy for Rans64
Source§impl EncoderVariantForS for Rans64
impl EncoderVariantForS for Rans64
Source§const MAX_SCALE_BITS: u32 = 32
const MAX_SCALE_BITS: u32 = 32
Maximum scale bits for this variant.
Source§type EncSymbol = Rans64EncSymbol
type EncSymbol = Rans64EncSymbol
The encoder symbol type for this variant.
Source§fn make_encoder() -> Self::RawEnc
fn make_encoder() -> Self::RawEnc
Create a new encoder instance.
impl Eq for Rans64
Source§impl RansParams for Rans64
impl RansParams for Rans64
Source§const STATE_BITS: u32 = 63
const STATE_BITS: u32 = 63
STATE_BITS
Source§const MAX_SCALE_BITS: u32 = 32
const MAX_SCALE_BITS: u32 = 32
MAX_SCALE_BITS
Source§const LOWER_BOUND: u64
const LOWER_BOUND: u64
LOWER_BOUND
Source§const UNITS_PER_STATE: usize = 2
const UNITS_PER_STATE: usize = 2
UNITS_PER_STATE
impl StructuralPartialEq for Rans64
Auto Trait Implementations§
impl Freeze for Rans64
impl RefUnwindSafe for Rans64
impl Send for Rans64
impl Sync for Rans64
impl Unpin for Rans64
impl UnsafeUnpin for Rans64
impl UnwindSafe for Rans64
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