pub trait LCDColorExt {
// Required methods
fn White() -> Self;
fn Black() -> Self;
fn Clear() -> Self;
fn XOR() -> Self;
}๐Deprecated: Useless until const_trait is experimental and incomplete. Use LCDColorConst instead.
Required Methodsยง
fn White() -> Self
๐Deprecated: Useless until const_trait is experimental and incomplete. Use LCDColorConst instead.
fn Black() -> Self
๐Deprecated: Useless until const_trait is experimental and incomplete. Use LCDColorConst instead.
fn Clear() -> Self
๐Deprecated: Useless until const_trait is experimental and incomplete. Use LCDColorConst instead.
fn XOR() -> Self
๐Deprecated: Useless until const_trait is experimental and incomplete. Use LCDColorConst instead.
Dyn Compatibilityยง
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Typesยง
Sourceยงimpl LCDColorExt for LCDSolidColor
impl LCDColorExt for LCDSolidColor
Sourceยงfn White() -> LCDSolidColor
fn White() -> LCDSolidColor
๐Deprecated: Useless until const_trait is experimental and incomplete. Use LCDColorConst instead.
Sourceยงfn Black() -> LCDSolidColor
fn Black() -> LCDSolidColor
๐Deprecated: Useless until const_trait is experimental and incomplete. Use LCDColorConst instead.
Sourceยงfn Clear() -> LCDSolidColor
fn Clear() -> LCDSolidColor
๐Deprecated: Useless until const_trait is experimental and incomplete. Use LCDColorConst instead.
Sourceยงfn XOR() -> LCDSolidColor
fn XOR() -> LCDSolidColor
๐Deprecated: Useless until const_trait is experimental and incomplete. Use LCDColorConst instead.
Sourceยงimpl LCDColorExt for usize
impl LCDColorExt for usize
Sourceยงfn White() -> usize
fn White() -> usize
๐Deprecated: Useless until const_trait is experimental and incomplete. Use LCDColorConst instead.
Sourceยงfn Black() -> usize
fn Black() -> usize
๐Deprecated: Useless until const_trait is experimental and incomplete. Use LCDColorConst instead.