#[non_exhaustive]#[repr(u32)]pub enum HuffmanTableType {
Dc = 0,
Ac = 1,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for HuffmanTableType
impl Clone for HuffmanTableType
Source§fn clone(&self) -> HuffmanTableType
fn clone(&self) -> HuffmanTableType
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 HuffmanTableType
Source§impl Debug for HuffmanTableType
impl Debug for HuffmanTableType
Source§impl Display for HuffmanTableType
impl Display for HuffmanTableType
impl Eq for HuffmanTableType
Source§impl From<HuffmanTableType> for u32
impl From<HuffmanTableType> for u32
Source§fn from(enum_value: HuffmanTableType) -> Self
fn from(enum_value: HuffmanTableType) -> Self
Converts to this type from the input type.
Source§impl From<HuffmanTableType> for NppiHuffmanTableType
impl From<HuffmanTableType> for NppiHuffmanTableType
Source§fn from(value: HuffmanTableType) -> Self
fn from(value: HuffmanTableType) -> Self
Converts to this type from the input type.
Source§impl From<NppiHuffmanTableType> for HuffmanTableType
impl From<NppiHuffmanTableType> for HuffmanTableType
Source§fn from(value: NppiHuffmanTableType) -> Self
fn from(value: NppiHuffmanTableType) -> Self
Converts to this type from the input type.
Source§impl Hash for HuffmanTableType
impl Hash for HuffmanTableType
Source§impl PartialEq for HuffmanTableType
impl PartialEq for HuffmanTableType
Source§fn eq(&self, other: &HuffmanTableType) -> bool
fn eq(&self, other: &HuffmanTableType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HuffmanTableType
Source§impl TryFrom<u32> for HuffmanTableType
impl TryFrom<u32> for HuffmanTableType
Source§type Error = TryFromPrimitiveError<HuffmanTableType>
type Error = TryFromPrimitiveError<HuffmanTableType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for HuffmanTableType
impl TryFromPrimitive for HuffmanTableType
const NAME: &'static str = "HuffmanTableType"
type Primitive = u32
type Error = TryFromPrimitiveError<HuffmanTableType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for HuffmanTableType
impl RefUnwindSafe for HuffmanTableType
impl Send for HuffmanTableType
impl Sync for HuffmanTableType
impl Unpin for HuffmanTableType
impl UnsafeUnpin for HuffmanTableType
impl UnwindSafe for HuffmanTableType
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