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