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]

Formats the value using the given formatter. Read more

impl From<FreetypeError> for FontError
[src]

Performs the conversion.

impl From<FontError> for Error
[src]

Performs the conversion.

Auto Trait Implementations

impl Send for FontError

impl Sync for FontError