pub struct DerivedUnitElement {
pub unit: NamedUnitRef,
pub exponent: f64,
}Fields§
§unit: NamedUnitRef§exponent: f64Trait Implementations§
Source§impl Clone for DerivedUnitElement
impl Clone for DerivedUnitElement
Source§fn clone(&self) -> DerivedUnitElement
fn clone(&self) -> DerivedUnitElement
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 DerivedUnitElement
impl Debug for DerivedUnitElement
Source§impl PartialEq for DerivedUnitElement
impl PartialEq for DerivedUnitElement
Source§fn eq(&self, other: &DerivedUnitElement) -> bool
fn eq(&self, other: &DerivedUnitElement) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DerivedUnitElement
Auto Trait Implementations§
impl Freeze for DerivedUnitElement
impl RefUnwindSafe for DerivedUnitElement
impl Send for DerivedUnitElement
impl Sync for DerivedUnitElement
impl Unpin for DerivedUnitElement
impl UnsafeUnpin for DerivedUnitElement
impl UnwindSafe for DerivedUnitElement
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