[][src]Struct sensehat_screen::screen::Screen

pub struct Screen { /* fields omitted */ }

This is the main type for interacting with the LED Matrix Screen.

Implementations

impl Screen[src]

pub fn open(path: &str) -> Result<Self, ScreenError>[src]

Open the framebuffer to the screen at the given file-system path.

pub fn write_frame(&mut self, frame: &FrameLine)[src]

Write the contents of a FrameLine into the framebuffer. This will render the frameline on the screen.

Trait Implementations

impl Debug for Screen[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.