#[non_exhaustive]#[repr(u8)]pub enum ObjectCodingMethod {
Pixels = 0,
Characters = 1,
ProgressivePixels = 2,
Reserved(u8),
}Expand description
Object coding method as defined in Table 18.
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.
Pixels = 0
Coding of pixels (interlaced).
Characters = 1
Coded as a string of characters.
ProgressivePixels = 2
Progressive coding of pixels.
Reserved(u8)
Reserved.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectCodingMethod
impl Clone for ObjectCodingMethod
Source§fn clone(&self) -> ObjectCodingMethod
fn clone(&self) -> ObjectCodingMethod
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 ObjectCodingMethod
Source§impl Debug for ObjectCodingMethod
impl Debug for ObjectCodingMethod
Source§impl Display for ObjectCodingMethod
impl Display for ObjectCodingMethod
impl Eq for ObjectCodingMethod
Source§impl PartialEq for ObjectCodingMethod
impl PartialEq for ObjectCodingMethod
Source§impl Serialize for ObjectCodingMethod
Available on crate feature serde only.
impl Serialize for ObjectCodingMethod
Available on crate feature
serde only.impl StructuralPartialEq for ObjectCodingMethod
Auto Trait Implementations§
impl Freeze for ObjectCodingMethod
impl RefUnwindSafe for ObjectCodingMethod
impl Send for ObjectCodingMethod
impl Sync for ObjectCodingMethod
impl Unpin for ObjectCodingMethod
impl UnsafeUnpin for ObjectCodingMethod
impl UnwindSafe for ObjectCodingMethod
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