Enum rofl::FontError [] [src]

pub enum FontError {
    File(Error),
    NoFonts,
    TooManyFonts(usize),
}

Error that may occur during font load.

Variants

Error while loading the font file.

Error for when the font file contains no fonts.

Error for when the font file contains too many fonts.

Trait Implementations

impl Debug for FontError
[src]

Formats the value using the given formatter.

impl Error for FontError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for FontError
[src]

Formats the value using the given formatter. Read more