pub struct Seconds(pub u32);Tuple Fields§
§0: u32Trait 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§impl Mul<MegaHertzU64> for Seconds
 
impl Mul<MegaHertzU64> for Seconds
Source§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,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
 
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)