[−][src]Struct rpi_led_matrix::LedColor
The Rust handle representing a color you'd like to display.
Fields
red: u8
the red channel value
green: u8
the green channel value
blue: u8
the blue channel value
Trait Implementations
impl Clone for LedColor
[src]
impl Copy for LedColor
[src]
impl Debug for LedColor
[src]
impl From<Bgr555> for LedColor
[src]
impl From<Bgr565> for LedColor
[src]
impl From<Bgr888> for LedColor
[src]
impl From<BinaryColor> for LedColor
[src]
fn from(p: BinaryColor) -> Self
[src]
impl From<Gray2> for LedColor
[src]
impl From<Gray4> for LedColor
[src]
impl From<Gray8> for LedColor
[src]
impl From<Rgb555> for LedColor
[src]
impl From<Rgb565> for LedColor
[src]
impl From<Rgb888> for LedColor
[src]
impl PartialEq<LedColor> for LedColor
[src]
impl PixelColor for LedColor
[src]
impl StructuralPartialEq for LedColor
[src]
Auto Trait Implementations
impl RefUnwindSafe for LedColor
impl Send for LedColor
impl Sync for LedColor
impl Unpin for LedColor
impl UnwindSafe for LedColor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,