Struct font8x8::unicode::FontUnicode[][src]

pub struct FontUnicode(pub char, pub [u8; 8]);

A single 8x8 font which supports UTF-16 encoding/decoding.

Methods

impl FontUnicode
[src]

Return the char value

Return the [u8; 8]-representation for this font.

Return a result with the corresponding String for the font.

Returns a bool indicating whether this font renders as a whitespace (all 0).

Consumes the current FontUnicode and returns the inner (char, [u8; 8]) tuple.

Trait Implementations

impl Clone for FontUnicode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for FontUnicode
[src]

impl Debug for FontUnicode
[src]

Formats the value using the given formatter. Read more

impl PartialEq for FontUnicode
[src]

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

This method tests for !=.

impl Into<char> for FontUnicode
[src]

Performs the conversion.

impl Into<[u8; 8]> for FontUnicode
[src]

Performs the conversion.

impl Into<(char, [u8; 8])> for FontUnicode
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for FontUnicode

impl Sync for FontUnicode