Struct atsamd_hal::time::MegaHertz
source · [−]pub struct MegaHertz(pub u32);
Expand description
MegaHertz
Tuple Fields
0: u32
Trait Implementations
sourceimpl From<MegaHertz> for Nanoseconds
impl From<MegaHertz> for Nanoseconds
sourceimpl From<Nanoseconds> for MegaHertz
impl From<Nanoseconds> for MegaHertz
sourcefn from(item: Nanoseconds) -> Self
fn from(item: Nanoseconds) -> Self
Converts to this type from the input type.
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more