Enum kurbo::SvgParseError
source · pub enum SvgParseError {
Wrong,
UnexpectedEof,
UnknownCommand(char),
}
Expand description
An error which can be returned when parsing an SVG.
Variants§
Wrong
A number was expected.
UnexpectedEof
The input string ended while still expecting input.
UnknownCommand(char)
Encountered an unknown command letter.
Trait Implementations§
source§impl Debug for SvgParseError
impl Debug for SvgParseError
source§impl Display for SvgParseError
impl Display for SvgParseError
source§impl Error for SvgParseError
impl Error for SvgParseError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl RefUnwindSafe for SvgParseError
impl Send for SvgParseError
impl Sync for SvgParseError
impl Unpin for SvgParseError
impl UnwindSafe for SvgParseError
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