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]
impl From<FreetypeError> for FontError
[src]
fn from(e: FreetypeError) -> FontError
Performs the conversion.