Enum gfx_text::FontError [] [src]

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

Represents possible errors which may occur during the font loading.

Variants

NoFont

No font was specified

EmptyFont

Character set is empty

FreetypeError(FreetypeError)

FreeType library error

Trait Implementations

impl Debug for FontError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<FreetypeError> for FontError
[src]

fn from(e: FreetypeError) -> FontError

Performs the conversion.