Struct sensehat_screen::fonts::FONT_COLLECTION[]

pub struct FONT_COLLECTION { /* fields omitted */ }

A static FontCollection that offers a higher-level API for working with pixel frames, clips, scrolls, etc.

FONT_COLLECTION.sanitize_str(&str) returns a sanitized FontString, and use that to render pixel frames..

FONT_COLLECTION.get(font: char) returns the low-level FontUnicode if the font is found in the collection.

Methods from __Deref<Target = FontCollection>

Get an Option with the symbol's byte rendering.

Search if collection has a symbol by its unicode key.

Sanitize a &str and create a new FontString.

Trait Implementations

impl __Deref for FONT_COLLECTION

The resulting type after dereferencing.

Dereferences the value.

impl LazyStatic for FONT_COLLECTION

Auto Trait Implementations