#[repr(C)]pub struct time_value {
pub seconds: integer_t,
pub microseconds: integer_t,
}Fields§
§seconds: integer_t§microseconds: integer_tTrait Implementations§
Source§impl Clone for time_value
impl Clone for time_value
Source§fn clone(&self) -> time_value
fn clone(&self) -> time_value
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for time_value
impl Debug for time_value
Source§impl Default for time_value
impl Default for time_value
Source§fn default() -> time_value
fn default() -> time_value
Returns the “default value” for a type. Read more
Source§impl Hash for time_value
impl Hash for time_value
Source§impl Ord for time_value
impl Ord for time_value
Source§fn cmp(&self, other: &time_value) -> Ordering
fn cmp(&self, other: &time_value) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for time_value
impl PartialEq for time_value
Source§impl PartialOrd for time_value
impl PartialOrd for time_value
impl Copy for time_value
impl Eq for time_value
impl StructuralPartialEq for time_value
Auto Trait Implementations§
impl Freeze for time_value
impl RefUnwindSafe for time_value
impl Send for time_value
impl Sync for time_value
impl Unpin for time_value
impl UnwindSafe for time_value
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