pub enum AlphPreprocessing {
None,
LevelReduction,
Reserved(u8),
}Expand description
Preprocessing hint (P) per RFC 9649 §2.7.1.2.
Only 0 and 1 are named in the spec; the other two 2-bit values
are reserved. §2.7.1.2: “Decoders are not required to use this
information in any specified way.” — i.e. this is purely
informational metadata, not a refusal trigger.
Variants§
None
0: No preprocessing was applied.
LevelReduction
1: Level reduction was applied prior to compression.
Reserved(u8)
2 or 3 — undefined by §2.7.1.2.
Trait Implementations§
Source§impl Clone for AlphPreprocessing
impl Clone for AlphPreprocessing
Source§fn clone(&self) -> AlphPreprocessing
fn clone(&self) -> AlphPreprocessing
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 AlphPreprocessing
Source§impl Debug for AlphPreprocessing
impl Debug for AlphPreprocessing
impl Eq for AlphPreprocessing
Source§impl PartialEq for AlphPreprocessing
impl PartialEq for AlphPreprocessing
Source§fn eq(&self, other: &AlphPreprocessing) -> bool
fn eq(&self, other: &AlphPreprocessing) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlphPreprocessing
Auto Trait Implementations§
impl Freeze for AlphPreprocessing
impl RefUnwindSafe for AlphPreprocessing
impl Send for AlphPreprocessing
impl Sync for AlphPreprocessing
impl Unpin for AlphPreprocessing
impl UnsafeUnpin for AlphPreprocessing
impl UnwindSafe for AlphPreprocessing
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