Struct esp_idf_hal::units::NanoSeconds
source · pub struct NanoSeconds(pub ValueType);
Tuple Fields§
§0: ValueType
Trait Implementations§
source§impl Add for NanoSeconds
impl Add for NanoSeconds
source§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
source§impl Div for NanoSeconds
impl Div for NanoSeconds
source§impl From<MicroSeconds> for NanoSeconds
impl From<MicroSeconds> for NanoSeconds
source§fn from(x: MicroSeconds) -> Self
fn from(x: MicroSeconds) -> Self
Converts to this type from the input type.
source§impl From<MilliSeconds> for NanoSeconds
impl From<MilliSeconds> for NanoSeconds
source§fn from(x: MilliSeconds) -> Self
fn from(x: MilliSeconds) -> Self
Converts to this type from the input type.
source§impl From<NanoSeconds> for NanoSecondsU64
impl From<NanoSeconds> for NanoSecondsU64
source§fn from(x: NanoSeconds) -> Self
fn from(x: NanoSeconds) -> Self
Converts to this type from the input type.
source§impl From<NanoSeconds> for ValueType
impl From<NanoSeconds> for ValueType
source§fn from(x: NanoSeconds) -> Self
fn from(x: NanoSeconds) -> Self
Converts to this type from the input type.
source§impl From<Seconds> for NanoSeconds
impl From<Seconds> for NanoSeconds
source§impl From<u32> for NanoSeconds
impl From<u32> for NanoSeconds
source§fn from(x: ValueType) -> NanoSeconds
fn from(x: ValueType) -> 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§impl Mul<MegaHertz> for NanoSeconds
impl Mul<MegaHertz> for NanoSeconds
source§impl Mul<MegaHertzU64> for NanoSeconds
impl Mul<MegaHertzU64> for NanoSeconds
source§impl Mul<NanoSeconds> for Hertz
impl Mul<NanoSeconds> for Hertz
source§impl Mul<NanoSeconds> for HertzU64
impl Mul<NanoSeconds> for HertzU64
source§impl Mul<NanoSeconds> for KiloHertz
impl Mul<NanoSeconds> for KiloHertz
source§impl Mul<NanoSeconds> for KiloHertzU64
impl Mul<NanoSeconds> for KiloHertzU64
source§impl Mul<NanoSeconds> for MegaHertz
impl Mul<NanoSeconds> for MegaHertz
source§impl Mul<NanoSeconds> for MegaHertzU64
impl Mul<NanoSeconds> for MegaHertzU64
source§impl Mul<NanoSeconds> for ValueType
impl Mul<NanoSeconds> for ValueType
§type Output = NanoSeconds
type Output = NanoSeconds
The resulting type after applying the
*
operator.source§fn mul(self, rhs: NanoSeconds) -> Self::Output
fn mul(self, rhs: NanoSeconds) -> Self::Output
Performs the
*
operation. Read moresource§impl Mul<u32> for NanoSeconds
impl Mul<u32> for NanoSeconds
source§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
source§impl TryFrom<NanoSecondsU64> for NanoSeconds
impl TryFrom<NanoSecondsU64> for NanoSeconds
source§fn try_from(x: NanoSecondsU64) -> Result<NanoSeconds, Self::Error>
fn try_from(x: NanoSecondsU64) -> Result<NanoSeconds, Self::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
)