pub enum FontError {
Io(Error),
Regex(Error),
ParseInt(ParseIntError),
ParseLine(String),
Get(String),
}Variants§
Trait Implementations§
Source§impl From<FontError> for PrinterError
impl From<FontError> for PrinterError
Source§fn from(err: FontError) -> PrinterError
fn from(err: FontError) -> PrinterError
Converts to this type from the input type.
Source§impl From<ParseIntError> for FontError
impl From<ParseIntError> for FontError
Source§fn from(err: ParseIntError) -> FontError
fn from(err: ParseIntError) -> FontError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FontError
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