pub struct Milligram;Expand description
SI mass unit Milligram with gram-based prefix (symbol mg).
By definition, 1 mg = 1e-3 g.
Trait Implementations§
Source§impl PartialOrd for Milligram
impl PartialOrd for Milligram
impl Copy for Milligram
impl StructuralPartialEq for Milligram
Auto Trait Implementations§
impl Freeze for Milligram
impl RefUnwindSafe for Milligram
impl Send for Milligram
impl Sync for Milligram
impl Unpin for Milligram
impl UnwindSafe for Milligram
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