[−][src]Struct sensehat_screen::screen::Screen
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
Auto Trait Implementations
impl RefUnwindSafe for Screen
[src]
impl Send for Screen
[src]
impl Sync for Screen
[src]
impl Unpin for Screen
[src]
impl UnwindSafe for Screen
[src]
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,
pub 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, 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.
pub 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>,