pub struct MultiTileSprite { /* private fields */ }
Expand description

Represents a sprite consisting of multiple glyphs/colors, occupying multiple console locations.

Implementations

Generates a sprite from an input string, divided into width x height sizes.

Generates a sprite from an input string, divided into width x height sizes. Also provides foreground and background colors.

Import a sprite from an XP Rex Paint file.

Directly renders a sprite to an BTerm context.

Appends draw-calls to a batch to render a multi-tile sprite.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.