pub enum FontError {
NoFont,
EmptyFont,
FreetypeError(Error),
}
Expand description
Represents possible errors which may occur during the font loading.
Variants§
NoFont
No font was specified
EmptyFont
Character set is empty
FreetypeError(Error)
FreeType library error
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for FontError
impl Send for FontError
impl Sync for FontError
impl Unpin for FontError
impl UnwindSafe for FontError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more