Struct esp_idf_svc::hal::prelude::NanoSeconds
source · pub struct NanoSeconds(pub u32);
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Add for NanoSeconds
impl Add for NanoSeconds
§type Output = NanoSeconds
type Output = NanoSeconds
The resulting type after applying the
+
operator.source§fn add(self, rhs: NanoSeconds) -> <NanoSeconds as Add>::Output
fn add(self, rhs: NanoSeconds) -> <NanoSeconds as Add>::Output
Performs the
+
operation. Read moresource§impl Clone for NanoSeconds
impl Clone for NanoSeconds
source§fn clone(&self) -> NanoSeconds
fn clone(&self) -> NanoSeconds
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for NanoSeconds
impl Debug for NanoSeconds
source§impl Default for NanoSeconds
impl Default for NanoSeconds
source§fn default() -> NanoSeconds
fn default() -> NanoSeconds
Returns the “default value” for a type. Read more
source§impl Display for NanoSeconds
impl Display for NanoSeconds
source§impl Div<u32> for NanoSeconds
impl Div<u32> for NanoSeconds
§type Output = NanoSeconds
type Output = NanoSeconds
The resulting type after applying the
/
operator.source§fn div(self, rhs: u32) -> <NanoSeconds as Div<u32>>::Output
fn div(self, rhs: u32) -> <NanoSeconds as Div<u32>>::Output
Performs the
/
operation. Read moresource§impl Div for NanoSeconds
impl Div for NanoSeconds
source§fn div(self, rhs: NanoSeconds) -> <NanoSeconds as Div>::Output
fn div(self, rhs: NanoSeconds) -> <NanoSeconds as Div>::Output
Performs the
/
operation. Read moresource§impl From<MicroSeconds> for NanoSeconds
impl From<MicroSeconds> for NanoSeconds
source§fn from(x: MicroSeconds) -> NanoSeconds
fn from(x: MicroSeconds) -> NanoSeconds
Converts to this type from the input type.
source§impl From<MilliSeconds> for NanoSeconds
impl From<MilliSeconds> for NanoSeconds
source§fn from(x: MilliSeconds) -> NanoSeconds
fn from(x: MilliSeconds) -> NanoSeconds
Converts to this type from the input type.
source§impl From<NanoSeconds> for NanoSecondsU64
impl From<NanoSeconds> for NanoSecondsU64
source§fn from(x: NanoSeconds) -> NanoSecondsU64
fn from(x: NanoSeconds) -> NanoSecondsU64
Converts to this type from the input type.
source§impl From<Seconds> for NanoSeconds
impl From<Seconds> for NanoSeconds
source§fn from(x: Seconds) -> NanoSeconds
fn from(x: Seconds) -> NanoSeconds
Converts to this type from the input type.
source§impl From<u32> for NanoSeconds
impl From<u32> for NanoSeconds
source§fn from(x: u32) -> NanoSeconds
fn from(x: u32) -> NanoSeconds
Converts to this type from the input type.
source§impl Hash for NanoSeconds
impl Hash for NanoSeconds
source§impl Mul<Hertz> for NanoSeconds
impl Mul<Hertz> for NanoSeconds
source§impl Mul<HertzU64> for NanoSeconds
impl Mul<HertzU64> for NanoSeconds
source§impl Mul<KiloHertz> for NanoSeconds
impl Mul<KiloHertz> for NanoSeconds
source§impl Mul<KiloHertzU64> for NanoSeconds
impl Mul<KiloHertzU64> for NanoSeconds
source§fn mul(self, rhs: KiloHertzU64) -> <NanoSeconds as Mul<KiloHertzU64>>::Output
fn mul(self, rhs: KiloHertzU64) -> <NanoSeconds as Mul<KiloHertzU64>>::Output
Performs the
*
operation. Read moresource§impl Mul<MegaHertz> for NanoSeconds
impl Mul<MegaHertz> for NanoSeconds
source§impl Mul<MegaHertzU64> for NanoSeconds
impl Mul<MegaHertzU64> for NanoSeconds
source§fn mul(self, rhs: MegaHertzU64) -> <NanoSeconds as Mul<MegaHertzU64>>::Output
fn mul(self, rhs: MegaHertzU64) -> <NanoSeconds as Mul<MegaHertzU64>>::Output
Performs the
*
operation. Read moresource§impl Mul<NanoSeconds> for Hertz
impl Mul<NanoSeconds> for Hertz
source§fn mul(self, rhs: NanoSeconds) -> <Hertz as Mul<NanoSeconds>>::Output
fn mul(self, rhs: NanoSeconds) -> <Hertz as Mul<NanoSeconds>>::Output
Performs the
*
operation. Read moresource§impl Mul<NanoSeconds> for HertzU64
impl Mul<NanoSeconds> for HertzU64
source§fn mul(self, rhs: NanoSeconds) -> <HertzU64 as Mul<NanoSeconds>>::Output
fn mul(self, rhs: NanoSeconds) -> <HertzU64 as Mul<NanoSeconds>>::Output
Performs the
*
operation. Read moresource§impl Mul<NanoSeconds> for KiloHertz
impl Mul<NanoSeconds> for KiloHertz
source§fn mul(self, rhs: NanoSeconds) -> <KiloHertz as Mul<NanoSeconds>>::Output
fn mul(self, rhs: NanoSeconds) -> <KiloHertz as Mul<NanoSeconds>>::Output
Performs the
*
operation. Read moresource§impl Mul<NanoSeconds> for KiloHertzU64
impl Mul<NanoSeconds> for KiloHertzU64
source§fn mul(self, rhs: NanoSeconds) -> <KiloHertzU64 as Mul<NanoSeconds>>::Output
fn mul(self, rhs: NanoSeconds) -> <KiloHertzU64 as Mul<NanoSeconds>>::Output
Performs the
*
operation. Read moresource§impl Mul<NanoSeconds> for MegaHertz
impl Mul<NanoSeconds> for MegaHertz
source§fn mul(self, rhs: NanoSeconds) -> <MegaHertz as Mul<NanoSeconds>>::Output
fn mul(self, rhs: NanoSeconds) -> <MegaHertz as Mul<NanoSeconds>>::Output
Performs the
*
operation. Read moresource§impl Mul<NanoSeconds> for MegaHertzU64
impl Mul<NanoSeconds> for MegaHertzU64
source§fn mul(self, rhs: NanoSeconds) -> <MegaHertzU64 as Mul<NanoSeconds>>::Output
fn mul(self, rhs: NanoSeconds) -> <MegaHertzU64 as Mul<NanoSeconds>>::Output
Performs the
*
operation. Read moresource§impl Mul<u32> for NanoSeconds
impl Mul<u32> for NanoSeconds
§type Output = NanoSeconds
type Output = NanoSeconds
The resulting type after applying the
*
operator.source§fn mul(self, rhs: u32) -> <NanoSeconds as Mul<u32>>::Output
fn mul(self, rhs: u32) -> <NanoSeconds as Mul<u32>>::Output
Performs the
*
operation. Read moresource§impl Ord for NanoSeconds
impl Ord for NanoSeconds
source§impl PartialEq for NanoSeconds
impl PartialEq for NanoSeconds
source§impl PartialOrd for NanoSeconds
impl PartialOrd for NanoSeconds
source§impl Sub for NanoSeconds
impl Sub for NanoSeconds
§type Output = NanoSeconds
type Output = NanoSeconds
The resulting type after applying the
-
operator.source§fn sub(self, rhs: NanoSeconds) -> <NanoSeconds as Sub>::Output
fn sub(self, rhs: NanoSeconds) -> <NanoSeconds as Sub>::Output
Performs the
-
operation. Read moresource§impl TryFrom<NanoSecondsU64> for NanoSeconds
impl TryFrom<NanoSecondsU64> for NanoSeconds
source§fn try_from(
x: NanoSecondsU64,
) -> Result<NanoSeconds, <NanoSeconds as TryFrom<NanoSecondsU64>>::Error>
fn try_from( x: NanoSecondsU64, ) -> Result<NanoSeconds, <NanoSeconds as TryFrom<NanoSecondsU64>>::Error>
Performs the conversion.
impl Copy for NanoSeconds
impl Eq for NanoSeconds
impl Quantity for NanoSeconds
impl StructuralPartialEq for NanoSeconds
impl Time for NanoSeconds
Auto Trait Implementations§
impl Freeze for NanoSeconds
impl RefUnwindSafe for NanoSeconds
impl Send for NanoSeconds
impl Sync for NanoSeconds
impl Unpin for NanoSeconds
impl UnwindSafe for NanoSeconds
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)