Enum playdate_sys::ffi::LCDSolidColor
source · #[repr(u8)]pub enum LCDSolidColor {
kColorBlack = 0,
kColorWhite = 1,
kColorClear = 2,
kColorXOR = 3,
}Variants§
Trait Implementations§
source§impl Clone for LCDSolidColor
impl Clone for LCDSolidColor
source§fn clone(&self) -> LCDSolidColor
fn clone(&self) -> LCDSolidColor
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LCDSolidColor
impl Debug for LCDSolidColor
source§impl Hash for LCDSolidColor
impl Hash for LCDSolidColor
source§impl Ord for LCDSolidColor
impl Ord for LCDSolidColor
source§impl PartialEq for LCDSolidColor
impl PartialEq for LCDSolidColor
source§fn eq(&self, other: &LCDSolidColor) -> bool
fn eq(&self, other: &LCDSolidColor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for LCDSolidColor
impl PartialOrd for LCDSolidColor
impl Copy for LCDSolidColor
impl Eq for LCDSolidColor
impl StructuralPartialEq for LCDSolidColor
Auto Trait Implementations§
impl Freeze for LCDSolidColor
impl RefUnwindSafe for LCDSolidColor
impl Send for LCDSolidColor
impl Sync for LCDSolidColor
impl Unpin for LCDSolidColor
impl UnwindSafe for LCDSolidColor
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
kColorBlack: 0 byteskColorWhite: 0 byteskColorClear: 0 byteskColorXOR: 0 bytes