Enum ndk::configuration::WideColorGamut
source · #[non_exhaustive]#[repr(i32)]pub enum WideColorGamut {
Any = 0,
No = 1,
Yes = 2,
}
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 WideColorGamut
impl Clone for WideColorGamut
source§fn clone(&self) -> WideColorGamut
fn clone(&self) -> WideColorGamut
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 WideColorGamut
impl Debug for WideColorGamut
source§impl From<WideColorGamut> for i32
impl From<WideColorGamut> for i32
source§fn from(enum_value: WideColorGamut) -> Self
fn from(enum_value: WideColorGamut) -> Self
Converts to this type from the input type.
source§impl From<i32> for WideColorGamut
impl From<i32> for WideColorGamut
source§impl FromPrimitive for WideColorGamut
impl FromPrimitive for WideColorGamut
source§impl PartialEq for WideColorGamut
impl PartialEq for WideColorGamut
source§fn eq(&self, other: &WideColorGamut) -> bool
fn eq(&self, other: &WideColorGamut) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for WideColorGamut
impl Eq for WideColorGamut
impl StructuralPartialEq for WideColorGamut
Auto Trait Implementations§
impl Freeze for WideColorGamut
impl RefUnwindSafe for WideColorGamut
impl Send for WideColorGamut
impl Sync for WideColorGamut
impl Unpin for WideColorGamut
impl UnwindSafe for WideColorGamut
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