pub enum Nsec {}Expand description
A time unit of nanoseconds.
A Delta<Nsec> stores its value as i64 nanoseconds and can represent
any i64 value, including negative, zero, and positive numbers.
Trait Implementations§
Source§impl Ord for Nsec
impl Ord for Nsec
Source§impl PartialOrd for Nsec
impl PartialOrd for Nsec
impl Copy for Nsec
impl Eq for Nsec
impl StructuralPartialEq for Nsec
Auto Trait Implementations§
impl Freeze for Nsec
impl RefUnwindSafe for Nsec
impl Send for Nsec
impl Sync for Nsec
impl Unpin for Nsec
impl UnwindSafe for Nsec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.