Enum rofl::FontError
[−]
[src]
pub enum FontError { File(Error), NoFonts, TooManyFonts(usize), }
Error that may occur during font load.
Variants
File(Error)
Error while loading the font file.
NoFonts
Error for when the font file contains no fonts.
TooManyFonts(usize)
Error for when the font file contains too many fonts.
Trait Implementations
impl Debug for FontError
[src]
impl Error for FontError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more