Enum linux_video_core::DvRgbRange
source · #[non_exhaustive]#[repr(u32)]pub enum DvRgbRange {
Auto,
Limited,
Full,
}
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.
Methods from Deref<Target = u32>§
pub const MIN: u32 = 0u32
pub const MAX: u32 = 4_294_967_295u32
pub const BITS: u32 = 32u32
Trait Implementations§
source§impl AsRef<u32> for DvRgbRange
impl AsRef<u32> for DvRgbRange
source§impl Clone for DvRgbRange
impl Clone for DvRgbRange
source§fn clone(&self) -> DvRgbRange
fn clone(&self) -> DvRgbRange
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DvRgbRange
impl Debug for DvRgbRange
source§impl Deref for DvRgbRange
impl Deref for DvRgbRange
source§impl Display for DvRgbRange
impl Display for DvRgbRange
source§impl From<DvRgbRange> for u32
impl From<DvRgbRange> for u32
source§fn from(data: DvRgbRange) -> Self
fn from(data: DvRgbRange) -> Self
Converts to this type from the input type.
source§impl PartialEq<DvRgbRange> for DvRgbRange
impl PartialEq<DvRgbRange> for DvRgbRange
source§fn eq(&self, other: &DvRgbRange) -> bool
fn eq(&self, other: &DvRgbRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for DvRgbRange
impl TryFrom<u32> for DvRgbRange
impl Copy for DvRgbRange
impl Eq for DvRgbRange
impl StructuralEq for DvRgbRange
impl StructuralPartialEq for DvRgbRange
Auto Trait Implementations§
impl RefUnwindSafe for DvRgbRange
impl Send for DvRgbRange
impl Sync for DvRgbRange
impl Unpin for DvRgbRange
impl UnwindSafe for DvRgbRange
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