pub struct UnitMismatch {
pub lhs: DerivedUnit,
pub rhs: DerivedUnit,
}Fields§
§lhs: DerivedUnit§rhs: DerivedUnitTrait Implementations§
Source§impl Debug for UnitMismatch
impl Debug for UnitMismatch
Source§impl Display for UnitMismatch
impl Display for UnitMismatch
Source§impl Error for UnitMismatch
impl Error for UnitMismatch
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()
Auto Trait Implementations§
impl Freeze for UnitMismatch
impl RefUnwindSafe for UnitMismatch
impl Send for UnitMismatch
impl Sync for UnitMismatch
impl Unpin for UnitMismatch
impl UnsafeUnpin for UnitMismatch
impl UnwindSafe for UnitMismatch
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