pub enum DimensionsError {
InvalidWidth,
InvalidHeight,
}Variants§
Trait Implementations§
Source§impl Clone for DimensionsError
impl Clone for DimensionsError
Source§fn clone(&self) -> DimensionsError
fn clone(&self) -> DimensionsError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DimensionsError
impl Debug for DimensionsError
Source§impl PartialEq for DimensionsError
impl PartialEq for DimensionsError
Source§fn eq(&self, other: &DimensionsError) -> bool
fn eq(&self, other: &DimensionsError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for DimensionsError
impl Eq for DimensionsError
impl StructuralPartialEq for DimensionsError
Auto Trait Implementations§
impl Freeze for DimensionsError
impl RefUnwindSafe for DimensionsError
impl Send for DimensionsError
impl Sync for DimensionsError
impl Unpin for DimensionsError
impl UnsafeUnpin for DimensionsError
impl UnwindSafe for DimensionsError
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