Implementations
Trait Implementations
impl Debug for TimeVal
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Display for TimeVal
fn fmt(&Self, f: &mut fmt::Formatter<'_>) -> fmt::Resultimpl Hash for TimeVal
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl Ord for TimeVal
fn cmp(&Self, other: &TimeVal) -> cmp::Orderingimpl PartialOrd<TimeVal> for TimeVal
fn partial_cmp(&Self, other: &TimeVal) -> Option<cmp::Ordering>impl StructuralEq for TimeValimpl StructuralPartialEq for TimeValimpl TimeValLike for TimeVal
fn milliseconds(milliseconds: i64) -> TimeValfn microseconds(microseconds: i64) -> TimeVal
Makes a new TimeVal with given number of microseconds.
fn nanoseconds(nanoseconds: i64) -> TimeVal
Makes a new TimeVal with given number of nanoseconds. Some precision
will be lost
fn num_seconds(&Self) -> i64fn num_milliseconds(&Self) -> i64fn num_microseconds(&Self) -> i64fn num_nanoseconds(&Self) -> i64Auto Trait Implementations
impl RefUnwindSafe for TimeValimpl UnwindSafe for TimeValBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T