pub struct InvalidSize(pub u32);Expand description
The error of converting a number of twelfths that is not an allowed size.
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for InvalidSize
impl Clone for InvalidSize
Source§fn clone(&self) -> InvalidSize
fn clone(&self) -> InvalidSize
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 InvalidSize
impl Debug for InvalidSize
Source§impl Display for InvalidSize
impl Display for InvalidSize
Source§impl Error for InvalidSize
impl Error for InvalidSize
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl PartialEq for InvalidSize
impl PartialEq for InvalidSize
impl Copy for InvalidSize
impl Eq for InvalidSize
impl StructuralPartialEq for InvalidSize
Auto Trait Implementations§
impl Freeze for InvalidSize
impl RefUnwindSafe for InvalidSize
impl Send for InvalidSize
impl Sync for InvalidSize
impl Unpin for InvalidSize
impl UnsafeUnpin for InvalidSize
impl UnwindSafe for InvalidSize
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