Implementations
Trait Implementations
impl Debug for TimeVal
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result
impl Display for TimeVal
fn fmt(&Self, f: &mut fmt::Formatter<'_>) -> fmt::Result
impl Hash for TimeVal
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl Ord for TimeVal
fn cmp(&Self, other: &TimeVal) -> cmp::Ordering
impl PartialOrd<TimeVal> for TimeVal
fn partial_cmp(&Self, other: &TimeVal) -> Option<cmp::Ordering>
impl StructuralEq for TimeVal
impl StructuralPartialEq for TimeVal
impl TimeValLike for TimeVal
fn milliseconds(milliseconds: i64) -> TimeVal
fn 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) -> i64
fn num_milliseconds(&Self) -> i64
fn num_microseconds(&Self) -> i64
fn num_nanoseconds(&Self) -> i64
Auto Trait Implementations
impl RefUnwindSafe for TimeVal
impl UnwindSafe for TimeVal
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T