#[repr(C)]pub enum ColorFormat {
Rgb = 0,
Rgba = 1,
}Variants§
Trait Implementations§
Source§impl Clone for ColorFormat
impl Clone for ColorFormat
Source§fn clone(&self) -> ColorFormat
fn clone(&self) -> ColorFormat
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 ColorFormat
impl Eq for ColorFormat
Source§impl<'a> From<&'a u32> for &'a ColorFormat
impl<'a> From<&'a u32> for &'a ColorFormat
Source§fn from(a: &'a nk_color_format) -> &'a ColorFormat
fn from(a: &'a nk_color_format) -> &'a ColorFormat
Converts to this type from the input type.
Source§impl From<ColorFormat> for nk_color_format
impl From<ColorFormat> for nk_color_format
Source§fn from(a: ColorFormat) -> nk_color_format
fn from(a: ColorFormat) -> nk_color_format
Converts to this type from the input type.
Source§impl From<u32> for ColorFormat
impl From<u32> for ColorFormat
Source§fn from(a: nk_color_format) -> ColorFormat
fn from(a: nk_color_format) -> ColorFormat
Converts to this type from the input type.
Source§impl PartialEq for ColorFormat
impl PartialEq for ColorFormat
Source§fn eq(&self, other: &ColorFormat) -> bool
fn eq(&self, other: &ColorFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ColorFormat
Auto Trait Implementations§
impl Freeze for ColorFormat
impl RefUnwindSafe for ColorFormat
impl Send for ColorFormat
impl Sync for ColorFormat
impl Unpin for ColorFormat
impl UnsafeUnpin for ColorFormat
impl UnwindSafe for ColorFormat
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