Struct microbit_text::scrolling_statics::ScrollingStatics[][src]

pub struct ScrollingStatics<T: Render + 'static> { /* fields omitted */ }
Expand description

A Scrollable displaying a static slice of arbitrary images.

The underlying images can be any sized type that implements Render.

Implementations

Specifies the images to be displayed.

This also resets the animation to the beginning.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Returns the brightness value for a single LED. Read more

The type of the underlying 5×5 images.

The number of underlying images.

A ScrollingState indicating the current point in the animation.

A ScrollingState indicating the current point in the animation, as a mutable reference. Read more

A reference to the underlying image at the specified index.

Returns the brightness value for a single LED in the current state. Read more

Auto Trait Implementations

Blanket Implementations

Say whether the animation has completed.

Reset the animation to the beginning.

Advance to the next step of the animation. Read more

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.