#[non_exhaustive]#[repr(u8)]pub enum RegionDepth {
Reserved0 = 0,
Depth2Bit = 1,
Depth4Bit = 2,
Depth8Bit = 3,
Reserved(u8),
}Expand description
Intended region pixel depth as defined in Table 13.
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.
Reserved0 = 0
Reserved.
Depth2Bit = 1
2-bit.
Depth4Bit = 2
4-bit.
Depth8Bit = 3
8-bit.
Reserved(u8)
Reserved range.
Implementations§
Trait Implementations§
Source§impl Clone for RegionDepth
impl Clone for RegionDepth
Source§fn clone(&self) -> RegionDepth
fn clone(&self) -> RegionDepth
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 RegionDepth
Source§impl Debug for RegionDepth
impl Debug for RegionDepth
Source§impl Display for RegionDepth
impl Display for RegionDepth
impl Eq for RegionDepth
Source§impl PartialEq for RegionDepth
impl PartialEq for RegionDepth
Source§fn eq(&self, other: &RegionDepth) -> bool
fn eq(&self, other: &RegionDepth) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RegionDepth
impl Serialize for RegionDepth
impl StructuralPartialEq for RegionDepth
Auto Trait Implementations§
impl Freeze for RegionDepth
impl RefUnwindSafe for RegionDepth
impl Send for RegionDepth
impl Sync for RegionDepth
impl Unpin for RegionDepth
impl UnsafeUnpin for RegionDepth
impl UnwindSafe for RegionDepth
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