pub struct FSharpMeasure {
pub name: String,
pub abbrev: Option<String>,
}Expand description
A unit of measure declaration.
Fields§
§name: StringMeasure name (e.g. kg, m, s).
abbrev: Option<String>Optional abbreviation.
Implementations§
Trait Implementations§
Source§impl Clone for FSharpMeasure
impl Clone for FSharpMeasure
Source§fn clone(&self) -> FSharpMeasure
fn clone(&self) -> FSharpMeasure
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 moreAuto Trait Implementations§
impl Freeze for FSharpMeasure
impl RefUnwindSafe for FSharpMeasure
impl Send for FSharpMeasure
impl Sync for FSharpMeasure
impl Unpin for FSharpMeasure
impl UnsafeUnpin for FSharpMeasure
impl UnwindSafe for FSharpMeasure
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