#[non_exhaustive]#[repr(u8)]pub enum RegionLevelOfCompatibility {
Reserved0 = 0,
Clut2Bit = 1,
Clut4Bit = 2,
Clut8Bit = 3,
Reserved(u8),
}Expand description
Region level of compatibility as defined in Table 12.
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.
Clut2Bit = 1
2-bit/entry CLUT required.
Clut4Bit = 2
4-bit/entry CLUT required.
Clut8Bit = 3
8-bit/entry CLUT required.
Reserved(u8)
Reserved range.
Implementations§
Trait Implementations§
Source§impl Clone for RegionLevelOfCompatibility
impl Clone for RegionLevelOfCompatibility
Source§fn clone(&self) -> RegionLevelOfCompatibility
fn clone(&self) -> RegionLevelOfCompatibility
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 RegionLevelOfCompatibility
Source§impl Debug for RegionLevelOfCompatibility
impl Debug for RegionLevelOfCompatibility
Source§impl Display for RegionLevelOfCompatibility
impl Display for RegionLevelOfCompatibility
impl Eq for RegionLevelOfCompatibility
Source§impl PartialEq for RegionLevelOfCompatibility
impl PartialEq for RegionLevelOfCompatibility
Source§fn eq(&self, other: &RegionLevelOfCompatibility) -> bool
fn eq(&self, other: &RegionLevelOfCompatibility) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RegionLevelOfCompatibility
Auto Trait Implementations§
impl Freeze for RegionLevelOfCompatibility
impl RefUnwindSafe for RegionLevelOfCompatibility
impl Send for RegionLevelOfCompatibility
impl Sync for RegionLevelOfCompatibility
impl Unpin for RegionLevelOfCompatibility
impl UnsafeUnpin for RegionLevelOfCompatibility
impl UnwindSafe for RegionLevelOfCompatibility
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