Enum gfx_text::FontError
[−]
[src]
pub enum FontError {
NoFont,
EmptyFont,
FreetypeError(FreetypeError),
}Represents possible errors which may occur during the font loading.
Variants
NoFontNo font was specified
EmptyFontCharacter set is empty
FreetypeError(FreetypeError)FreeType library error
Trait Implementations
impl Debug for FontError[src]
impl From<FreetypeError> for FontError[src]
fn from(e: FreetypeError) -> FontError
Performs the conversion.