Struct esp_idf_svc::hal::units::MicroSeconds
source · pub struct MicroSeconds(pub u32);
Tuple Fields§
§0: u32
Trait Implementations§
source§impl Add for MicroSeconds
impl Add for MicroSeconds
§type Output = MicroSeconds
type Output = MicroSeconds
The resulting type after applying the
+
operator.source§fn add(self, rhs: MicroSeconds) -> <MicroSeconds as Add>::Output
fn add(self, rhs: MicroSeconds) -> <MicroSeconds as Add>::Output
Performs the
+
operation. Read moresource§impl Clone for MicroSeconds
impl Clone for MicroSeconds
source§fn clone(&self) -> MicroSeconds
fn clone(&self) -> MicroSeconds
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 MicroSeconds
impl Debug for MicroSeconds
source§impl Default for MicroSeconds
impl Default for MicroSeconds
source§fn default() -> MicroSeconds
fn default() -> MicroSeconds
Returns the “default value” for a type. Read more
source§impl Display for MicroSeconds
impl Display for MicroSeconds
source§impl Div<u32> for MicroSeconds
impl Div<u32> for MicroSeconds
§type Output = MicroSeconds
type Output = MicroSeconds
The resulting type after applying the
/
operator.source§fn div(self, rhs: u32) -> <MicroSeconds as Div<u32>>::Output
fn div(self, rhs: u32) -> <MicroSeconds as Div<u32>>::Output
Performs the
/
operation. Read moresource§impl Div for MicroSeconds
impl Div for MicroSeconds
source§fn div(self, rhs: MicroSeconds) -> <MicroSeconds as Div>::Output
fn div(self, rhs: MicroSeconds) -> <MicroSeconds as Div>::Output
Performs the
/
operation. Read moresource§impl From<MicroSeconds> for MicroSecondsU64
impl From<MicroSeconds> for MicroSecondsU64
source§fn from(x: MicroSeconds) -> MicroSecondsU64
fn from(x: MicroSeconds) -> MicroSecondsU64
Converts to this type from the input type.
source§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<MicroSeconds> for NanoSecondsU64
impl From<MicroSeconds> for NanoSecondsU64
source§fn from(x: MicroSeconds) -> NanoSecondsU64
fn from(x: MicroSeconds) -> NanoSecondsU64
Converts to this type from the input type.
source§impl From<MilliSeconds> for MicroSeconds
impl From<MilliSeconds> for MicroSeconds
source§fn from(x: MilliSeconds) -> MicroSeconds
fn from(x: MilliSeconds) -> MicroSeconds
Converts to this type from the input type.
source§impl From<Seconds> for MicroSeconds
impl From<Seconds> for MicroSeconds
source§fn from(x: Seconds) -> MicroSeconds
fn from(x: Seconds) -> MicroSeconds
Converts to this type from the input type.
source§impl From<u32> for MicroSeconds
impl From<u32> for MicroSeconds
source§fn from(x: u32) -> MicroSeconds
fn from(x: u32) -> MicroSeconds
Converts to this type from the input type.
source§impl Hash for MicroSeconds
impl Hash for MicroSeconds
source§impl Mul<Hertz> for MicroSeconds
impl Mul<Hertz> for MicroSeconds
source§impl Mul<HertzU64> for MicroSeconds
impl Mul<HertzU64> for MicroSeconds
source§impl Mul<KiloHertz> for MicroSeconds
impl Mul<KiloHertz> for MicroSeconds
source§impl Mul<KiloHertzU64> for MicroSeconds
impl Mul<KiloHertzU64> for MicroSeconds
source§fn mul(self, rhs: KiloHertzU64) -> <MicroSeconds as Mul<KiloHertzU64>>::Output
fn mul(self, rhs: KiloHertzU64) -> <MicroSeconds as Mul<KiloHertzU64>>::Output
Performs the
*
operation. Read moresource§impl Mul<MegaHertz> for MicroSeconds
impl Mul<MegaHertz> for MicroSeconds
source§impl Mul<MegaHertzU64> for MicroSeconds
impl Mul<MegaHertzU64> for MicroSeconds
source§fn mul(self, rhs: MegaHertzU64) -> <MicroSeconds as Mul<MegaHertzU64>>::Output
fn mul(self, rhs: MegaHertzU64) -> <MicroSeconds as Mul<MegaHertzU64>>::Output
Performs the
*
operation. Read moresource§impl Mul<MicroSeconds> for Hertz
impl Mul<MicroSeconds> for Hertz
source§fn mul(self, rhs: MicroSeconds) -> <Hertz as Mul<MicroSeconds>>::Output
fn mul(self, rhs: MicroSeconds) -> <Hertz as Mul<MicroSeconds>>::Output
Performs the
*
operation. Read moresource§impl Mul<MicroSeconds> for HertzU64
impl Mul<MicroSeconds> for HertzU64
source§fn mul(self, rhs: MicroSeconds) -> <HertzU64 as Mul<MicroSeconds>>::Output
fn mul(self, rhs: MicroSeconds) -> <HertzU64 as Mul<MicroSeconds>>::Output
Performs the
*
operation. Read moresource§impl Mul<MicroSeconds> for KiloHertz
impl Mul<MicroSeconds> for KiloHertz
source§fn mul(self, rhs: MicroSeconds) -> <KiloHertz as Mul<MicroSeconds>>::Output
fn mul(self, rhs: MicroSeconds) -> <KiloHertz as Mul<MicroSeconds>>::Output
Performs the
*
operation. Read moresource§impl Mul<MicroSeconds> for KiloHertzU64
impl Mul<MicroSeconds> for KiloHertzU64
source§fn mul(self, rhs: MicroSeconds) -> <KiloHertzU64 as Mul<MicroSeconds>>::Output
fn mul(self, rhs: MicroSeconds) -> <KiloHertzU64 as Mul<MicroSeconds>>::Output
Performs the
*
operation. Read moresource§impl Mul<MicroSeconds> for MegaHertz
impl Mul<MicroSeconds> for MegaHertz
source§fn mul(self, rhs: MicroSeconds) -> <MegaHertz as Mul<MicroSeconds>>::Output
fn mul(self, rhs: MicroSeconds) -> <MegaHertz as Mul<MicroSeconds>>::Output
Performs the
*
operation. Read moresource§impl Mul<MicroSeconds> for MegaHertzU64
impl Mul<MicroSeconds> for MegaHertzU64
source§fn mul(self, rhs: MicroSeconds) -> <MegaHertzU64 as Mul<MicroSeconds>>::Output
fn mul(self, rhs: MicroSeconds) -> <MegaHertzU64 as Mul<MicroSeconds>>::Output
Performs the
*
operation. Read moresource§impl Mul<u32> for MicroSeconds
impl Mul<u32> for MicroSeconds
§type Output = MicroSeconds
type Output = MicroSeconds
The resulting type after applying the
*
operator.source§fn mul(self, rhs: u32) -> <MicroSeconds as Mul<u32>>::Output
fn mul(self, rhs: u32) -> <MicroSeconds as Mul<u32>>::Output
Performs the
*
operation. Read moresource§impl Ord for MicroSeconds
impl Ord for MicroSeconds
source§impl PartialEq for MicroSeconds
impl PartialEq for MicroSeconds
source§impl PartialOrd for MicroSeconds
impl PartialOrd for MicroSeconds
source§impl Sub for MicroSeconds
impl Sub for MicroSeconds
§type Output = MicroSeconds
type Output = MicroSeconds
The resulting type after applying the
-
operator.source§fn sub(self, rhs: MicroSeconds) -> <MicroSeconds as Sub>::Output
fn sub(self, rhs: MicroSeconds) -> <MicroSeconds as Sub>::Output
Performs the
-
operation. Read moresource§impl TryFrom<MicroSecondsU64> for MicroSeconds
impl TryFrom<MicroSecondsU64> for MicroSeconds
source§fn try_from(
x: MicroSecondsU64,
) -> Result<MicroSeconds, <MicroSeconds as TryFrom<MicroSecondsU64>>::Error>
fn try_from( x: MicroSecondsU64, ) -> Result<MicroSeconds, <MicroSeconds as TryFrom<MicroSecondsU64>>::Error>
Performs the conversion.
impl Copy for MicroSeconds
impl Eq for MicroSeconds
impl Quantity for MicroSeconds
impl StructuralPartialEq for MicroSeconds
impl Time for MicroSeconds
Auto Trait Implementations§
impl Freeze for MicroSeconds
impl RefUnwindSafe for MicroSeconds
impl Send for MicroSeconds
impl Sync for MicroSeconds
impl Unpin for MicroSeconds
impl UnwindSafe for MicroSeconds
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
)