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