Struct esp_idf_svc::hal::units::Seconds
source · pub struct Seconds(pub u32);
Tuple Fields§
§0: u32
Trait Implementations§
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<Seconds> for MicroSecondsU64
impl From<Seconds> for MicroSecondsU64
source§fn from(x: Seconds) -> MicroSecondsU64
fn from(x: Seconds) -> MicroSecondsU64
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<Seconds> for MilliSecondsU64
impl From<Seconds> for MilliSecondsU64
source§fn from(x: Seconds) -> MilliSecondsU64
fn from(x: Seconds) -> MilliSecondsU64
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<Seconds> for NanoSecondsU64
impl From<Seconds> for NanoSecondsU64
source§fn from(x: Seconds) -> NanoSecondsU64
fn from(x: Seconds) -> NanoSecondsU64
Converts to this type from the input type.
source§impl From<Seconds> for SecondsU64
impl From<Seconds> for SecondsU64
source§fn from(x: Seconds) -> SecondsU64
fn from(x: Seconds) -> SecondsU64
Converts to this type from the input type.
source§impl Mul<KiloHertzU64> for Seconds
impl Mul<KiloHertzU64> for Seconds
source§fn mul(self, rhs: KiloHertzU64) -> <Seconds as Mul<KiloHertzU64>>::Output
fn mul(self, rhs: KiloHertzU64) -> <Seconds as Mul<KiloHertzU64>>::Output
Performs the
*
operation. Read moresource§impl Mul<MegaHertzU64> for Seconds
impl Mul<MegaHertzU64> for Seconds
source§fn mul(self, rhs: MegaHertzU64) -> <Seconds as Mul<MegaHertzU64>>::Output
fn mul(self, rhs: MegaHertzU64) -> <Seconds as Mul<MegaHertzU64>>::Output
Performs the
*
operation. Read moresource§impl Mul<Seconds> for KiloHertzU64
impl Mul<Seconds> for KiloHertzU64
source§impl Mul<Seconds> for MegaHertzU64
impl Mul<Seconds> for MegaHertzU64
source§impl Ord for Seconds
impl Ord for Seconds
source§impl PartialOrd for Seconds
impl PartialOrd for Seconds
source§impl TryFrom<SecondsU64> for Seconds
impl TryFrom<SecondsU64> for Seconds
source§fn try_from(
x: SecondsU64,
) -> Result<Seconds, <Seconds as TryFrom<SecondsU64>>::Error>
fn try_from( x: SecondsU64, ) -> Result<Seconds, <Seconds as TryFrom<SecondsU64>>::Error>
Performs the conversion.
impl Copy for Seconds
impl Eq for Seconds
impl Quantity for Seconds
impl StructuralPartialEq for Seconds
impl Time for Seconds
Auto Trait Implementations§
impl Freeze for Seconds
impl RefUnwindSafe for Seconds
impl Send for Seconds
impl Sync for Seconds
impl Unpin for Seconds
impl UnwindSafe for Seconds
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
)