pub enum AspectRatioError {
InvalidWidth,
InvalidHeight,
InvalidTolerance,
}Variants§
Trait Implementations§
Source§impl Clone for AspectRatioError
impl Clone for AspectRatioError
Source§fn clone(&self) -> AspectRatioError
fn clone(&self) -> AspectRatioError
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 AspectRatioError
impl Debug for AspectRatioError
Source§impl PartialEq for AspectRatioError
impl PartialEq for AspectRatioError
Source§fn eq(&self, other: &AspectRatioError) -> bool
fn eq(&self, other: &AspectRatioError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AspectRatioError
impl Eq for AspectRatioError
impl StructuralPartialEq for AspectRatioError
Auto Trait Implementations§
impl Freeze for AspectRatioError
impl RefUnwindSafe for AspectRatioError
impl Send for AspectRatioError
impl Sync for AspectRatioError
impl Unpin for AspectRatioError
impl UnsafeUnpin for AspectRatioError
impl UnwindSafe for AspectRatioError
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