pub enum EntropyType {
Huffman,
Ans,
}Expand description
Entropy coding method - affects header cost estimation for clustering.
Variants§
Huffman
Huffman prefix codes (used by libjxl-tiny, simpler header format).
Ans
ANS (Asymmetric Numeral Systems) - used by full libjxl, larger alphabet support.
Trait Implementations§
Source§impl Clone for EntropyType
impl Clone for EntropyType
Source§fn clone(&self) -> EntropyType
fn clone(&self) -> EntropyType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntropyType
impl Debug for EntropyType
Source§impl Default for EntropyType
impl Default for EntropyType
Source§fn default() -> EntropyType
fn default() -> EntropyType
Returns the “default value” for a type. Read more
Source§impl PartialEq for EntropyType
impl PartialEq for EntropyType
impl Copy for EntropyType
impl Eq for EntropyType
impl StructuralPartialEq for EntropyType
Auto Trait Implementations§
impl Freeze for EntropyType
impl RefUnwindSafe for EntropyType
impl Send for EntropyType
impl Sync for EntropyType
impl Unpin for EntropyType
impl UnwindSafe for EntropyType
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