pub enum ShapeParseError {
UnknownFunction(String),
MissingParameter(String),
InvalidNumber(String),
InvalidSyntax(String),
EmptyInput,
}Expand description
Error type for shape parsing failures
Variants§
UnknownFunction(String)
Unknown shape function
MissingParameter(String)
Missing required parameter
InvalidNumber(String)
Invalid numeric value
InvalidSyntax(String)
Invalid syntax
EmptyInput
Empty input
Trait Implementations§
Source§impl Clone for ShapeParseError
impl Clone for ShapeParseError
Source§fn clone(&self) -> ShapeParseError
fn clone(&self) -> ShapeParseError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShapeParseError
impl Debug for ShapeParseError
Source§impl Display for ShapeParseError
impl Display for ShapeParseError
Source§impl PartialEq for ShapeParseError
impl PartialEq for ShapeParseError
impl Eq for ShapeParseError
impl StructuralPartialEq for ShapeParseError
Auto Trait Implementations§
impl Freeze for ShapeParseError
impl RefUnwindSafe for ShapeParseError
impl Send for ShapeParseError
impl Sync for ShapeParseError
impl Unpin for ShapeParseError
impl UnwindSafe for ShapeParseError
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