[][src]Struct rmicrobit::graphics::scrolling_text::ScrollingStaticText

pub struct ScrollingStaticText { /* fields omitted */ }

A Scrollable displaying a static ascii byte-string slice.

Methods

impl ScrollingStaticText[src]

pub fn set_message(&mut self, message: &'static [u8])[src]

Specifies the ascii byte-string slice to be displayed.

This also resets the animation to the beginning.

Trait Implementations

impl Scrollable for ScrollingStaticText[src]

type Subimage = BitImage

The type of the underlying 5×5 images.

impl Copy for ScrollingStaticText[src]

impl Clone for ScrollingStaticText[src]

impl Default for ScrollingStaticText[src]

impl Render for ScrollingStaticText[src]

Auto Trait Implementations

impl Unpin for ScrollingStaticText

impl Send for ScrollingStaticText

impl Sync for ScrollingStaticText

Blanket Implementations

impl<T> Animate for T where
    T: Scrollable
[src]

impl<T> From<T> for 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> Into<U> for T where
    U: From<T>, 
[src]

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self