pub enum BitmapFontError {
ConfigParse(String),
ImageLoad(String),
Packing(String),
XmlGeneration(String),
Io(Error),
Json(Error),
}Expand description
Main error type for the bitmap font creator
Variants§
ConfigParse(String)
Configuration parsing error
ImageLoad(String)
Image loading error
Packing(String)
Texture packing error
XmlGeneration(String)
XML generation error
Io(Error)
IO error
Json(Error)
JSON error
Trait Implementations§
Source§impl Debug for BitmapFontError
impl Debug for BitmapFontError
Source§impl Display for BitmapFontError
impl Display for BitmapFontError
Source§impl Error for BitmapFontError
impl Error for BitmapFontError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for BitmapFontError
impl From<Error> for BitmapFontError
Auto Trait Implementations§
impl Freeze for BitmapFontError
impl !RefUnwindSafe for BitmapFontError
impl Send for BitmapFontError
impl Sync for BitmapFontError
impl Unpin for BitmapFontError
impl UnsafeUnpin for BitmapFontError
impl !UnwindSafe for BitmapFontError
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