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 Clone for FontCollection
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for FontCollection
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for FontCollection
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Default for FontCollection
[src]

[src]

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

Auto Trait Implementations