Enum playdate_graphics::bitmap::Color
source · pub enum Color<'t> {
Solid(LCDSolidColor),
Pattern(&'t [u8; 16]),
}Variants§
Solid(LCDSolidColor)
Pattern(&'t [u8; 16])
Implementations§
Trait Implementations§
impl<'t> StructuralPartialEq for Color<'t>
Auto Trait Implementations§
impl<'t> RefUnwindSafe for Color<'t>
impl<'t> Send for Color<'t>
impl<'t> Sync for Color<'t>
impl<'t> Unpin for Color<'t>
impl<'t> UnwindSafe for Color<'t>
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: 8 bytes
Size for each variant:
Solid: 1 bytePattern: 7 bytes