Struct playdate_rs::graphics::LCDColor
source · #[repr(transparent)]pub struct LCDColor(_);Implementations§
source§impl LCDColor
impl LCDColor
sourcepub fn as_solid_color(&self) -> Option<LCDSolidColor>
pub fn as_solid_color(&self) -> Option<LCDSolidColor>
Convert the LCDColor to a LCDSolidColor
Trait Implementations§
source§impl From<LCDSolidColor> for LCDColor
impl From<LCDSolidColor> for LCDColor
source§fn from(value: LCDSolidColor) -> LCDColor
fn from(value: LCDSolidColor) -> LCDColor
Converts to this type from the input type.
source§impl PartialEq<LCDColor> for LCDColor
impl PartialEq<LCDColor> for LCDColor
impl Eq for LCDColor
impl StructuralEq for LCDColor
impl StructuralPartialEq for LCDColor
Auto Trait Implementations§
impl RefUnwindSafe for LCDColor
impl Send for LCDColor
impl Sync for LCDColor
impl Unpin for LCDColor
impl UnwindSafe for LCDColor
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