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 Debug for FontError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<FreetypeError> for FontError
[src]
impl From<FreetypeError> for FontError
fn from(e: FreetypeError) -> FontError
[src]
fn from(e: FreetypeError) -> FontError
Performs the conversion.
impl From<FontError> for Error
[src]
impl From<FontError> for Error