pub struct ColorOrPattern(/* private fields */);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.
impl Eq for LCDColor
impl StructuralPartialEq for LCDColor
Auto Trait Implementations§
impl Freeze for LCDColor
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