pub struct MegaHertz(pub u32);
Expand description
MegaHertz
Tuple Fields§
§0: u32
Trait Implementations§
source§impl From<MegaHertz> for Nanoseconds
impl From<MegaHertz> for Nanoseconds
source§fn from(item: MegaHertz) -> Nanoseconds
fn from(item: MegaHertz) -> Nanoseconds
Converts to this type from the input type.
source§impl From<Nanoseconds> for MegaHertz
impl From<Nanoseconds> for MegaHertz
source§fn from(item: Nanoseconds) -> MegaHertz
fn from(item: Nanoseconds) -> MegaHertz
Converts to this type from the input type.
source§impl PartialEq<MegaHertz> for MegaHertz
impl PartialEq<MegaHertz> for MegaHertz
impl Copy for MegaHertz
impl Eq for MegaHertz
impl StructuralEq for MegaHertz
impl StructuralPartialEq for MegaHertz
Auto Trait Implementations§
impl RefUnwindSafe for MegaHertz
impl Send for MegaHertz
impl Sync for MegaHertz
impl Unpin for MegaHertz
impl UnwindSafe for MegaHertz
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