Enum svgtypes::ViewBoxError
source · pub enum ViewBoxError {
InvalidNumber,
InvalidSize,
}
Expand description
List of possible ViewBox
parsing errors.
Variants§
Trait Implementations§
source§impl Clone for ViewBoxError
impl Clone for ViewBoxError
source§fn clone(&self) -> ViewBoxError
fn clone(&self) -> ViewBoxError
Returns a copy 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 ViewBoxError
impl Debug for ViewBoxError
source§impl Display for ViewBoxError
impl Display for ViewBoxError
source§impl Error for ViewBoxError
impl Error for ViewBoxError
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
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
impl Copy for ViewBoxError
Auto Trait Implementations§
impl RefUnwindSafe for ViewBoxError
impl Send for ViewBoxError
impl Sync for ViewBoxError
impl Unpin for ViewBoxError
impl UnwindSafe for ViewBoxError
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