pub struct UnitsValue {
pub units: Units,
pub value: f64,
}Expand description
TS UnitsValue.
Fields§
§units: Units§value: f64Trait Implementations§
Source§impl Clone for UnitsValue
impl Clone for UnitsValue
Source§fn clone(&self) -> UnitsValue
fn clone(&self) -> UnitsValue
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 moreimpl Copy for UnitsValue
Auto Trait Implementations§
impl Freeze for UnitsValue
impl RefUnwindSafe for UnitsValue
impl Send for UnitsValue
impl Sync for UnitsValue
impl Unpin for UnitsValue
impl UnsafeUnpin for UnitsValue
impl UnwindSafe for UnitsValue
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