Struct sensehat_screen::FontCollection [] [src]

pub struct FontCollection(_);

A set of font symbols that can be printed on a Screen.

Methods

impl FontCollection
[src]

[src]

Create a default FontCollection, containing the Unicode constants from the font8x8 crate, except for MISC_UNICODE, and SGA_UNICODE (which are non-standard).

[src]

Create a FontCollection with a custom HashMap of font symbols.

[src]

Get an Option with the symbol's byte rendering.

[src]

Search if collection has a symbol by its unicode key.

[src]

Sanitize a &str and create a new FontString.

Trait Implementations

impl Default for FontCollection
[src]

[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations