[−][src]Struct punda::display::image::DisplayImage
A representation of an image to be displayed on the LED matrix.
The array is arranged so that it is an array of rows. When represented in source code as follows, each line of the array corresponds to a row of LEDs.
let image = [ [false, true, false, true, false], // first row [false, false, false, false, false], // second row [true, false, false, false, true], // third row [false, true, true, true, false], // fourth row [false, false, false, false, false], // fifth row ]
Trait Implementations
impl Deref for DisplayImage
[src]
type Target = [[bool; 5]; 5]
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl DerefMut for DisplayImage
[src]
impl Copy for DisplayImage
[src]
impl From<Letter> for DisplayImage
[src]
impl From<[[bool; 5]; 5]> for DisplayImage
[src]
impl Clone for DisplayImage
[src]
fn clone(&self) -> DisplayImage
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for DisplayImage
impl Sync for DisplayImage
Blanket Implementations
impl<T, U> TryFrom 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> From for T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,