Enum gfx_text::FontError [] [src]

pub enum FontError {
    NoFont,
    EmptyFont,
    FreetypeError(FreetypeError),
}

Represents possible errors which may occur during the font loading.

Variants

No font was specified

Character set is empty

FreeType library error

Trait Implementations

impl Debug for FontError
[src]

[src]

Formats the value using the given formatter.

impl From<FreetypeError> for FontError
[src]

[src]

Performs the conversion.

impl From<FontError> for Error
[src]

[src]

Performs the conversion.