Enum ndk::configuration::WideColorGamut
source · [−]#[repr(u32)]
pub enum WideColorGamut {
Any,
No,
Yes,
}
Variants
Any
No
Yes
Trait Implementations
sourceimpl Clone for WideColorGamut
impl Clone for WideColorGamut
sourcefn clone(&self) -> WideColorGamut
fn clone(&self) -> WideColorGamut
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WideColorGamut
impl Debug for WideColorGamut
sourceimpl From<WideColorGamut> for u32
impl From<WideColorGamut> for u32
sourcefn from(enum_value: WideColorGamut) -> Self
fn from(enum_value: WideColorGamut) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<WideColorGamut> for WideColorGamut
impl PartialEq<WideColorGamut> for WideColorGamut
sourceimpl TryFrom<u32> for WideColorGamut
impl TryFrom<u32> for WideColorGamut
type Error = TryFromPrimitiveError<WideColorGamut>
type Error = TryFromPrimitiveError<WideColorGamut>
The type returned in the event of a conversion error.
sourcefn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for WideColorGamut
impl TryFromPrimitive for WideColorGamut
type Primitive = u32
const NAME: &'static str = _
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for WideColorGamut
impl Eq for WideColorGamut
impl StructuralEq for WideColorGamut
impl StructuralPartialEq for WideColorGamut
Auto Trait Implementations
impl RefUnwindSafe for WideColorGamut
impl Send for WideColorGamut
impl Sync for WideColorGamut
impl Unpin for WideColorGamut
impl UnwindSafe for WideColorGamut
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more