Struct atsamd_hal::time::Nanoseconds
source · [−]pub struct Nanoseconds(pub u32);
Expand description
Nanoseconds
Tuple Fields
0: u32
Trait Implementations
sourceimpl Clone for Nanoseconds
impl Clone for Nanoseconds
sourcefn clone(&self) -> Nanoseconds
fn clone(&self) -> Nanoseconds
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Nanoseconds
impl Debug for Nanoseconds
sourceimpl From<Hertz> for Nanoseconds
impl From<Hertz> for Nanoseconds
sourceimpl From<KiloHertz> for Nanoseconds
impl From<KiloHertz> for Nanoseconds
sourceimpl From<MegaHertz> for Nanoseconds
impl From<MegaHertz> for Nanoseconds
sourceimpl From<Microseconds> for Nanoseconds
impl From<Microseconds> for Nanoseconds
sourcefn from(item: Microseconds) -> Self
fn from(item: Microseconds) -> Self
Converts to this type from the input type.
sourceimpl From<Milliseconds> for Nanoseconds
impl From<Milliseconds> for Nanoseconds
sourcefn from(item: Milliseconds) -> Self
fn from(item: Milliseconds) -> Self
Converts to this type from the input type.
sourceimpl From<Nanoseconds> for Hertz
impl From<Nanoseconds> for Hertz
sourcefn from(item: Nanoseconds) -> Self
fn from(item: Nanoseconds) -> Self
Converts to this type from the input type.
sourceimpl From<Nanoseconds> for KiloHertz
impl From<Nanoseconds> for KiloHertz
sourcefn from(item: Nanoseconds) -> Self
fn from(item: Nanoseconds) -> Self
Converts to this type from the input type.
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.
sourceimpl From<Seconds> for Nanoseconds
impl From<Seconds> for Nanoseconds
sourceimpl PartialEq<Nanoseconds> for Nanoseconds
impl PartialEq<Nanoseconds> for Nanoseconds
sourcefn eq(&self, other: &Nanoseconds) -> bool
fn eq(&self, other: &Nanoseconds) -> bool
impl Copy for Nanoseconds
impl Eq for Nanoseconds
impl StructuralEq for Nanoseconds
impl StructuralPartialEq for Nanoseconds
Auto Trait Implementations
impl RefUnwindSafe for Nanoseconds
impl Send for Nanoseconds
impl Sync for Nanoseconds
impl Unpin for Nanoseconds
impl UnwindSafe for Nanoseconds
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