#[repr(C)]pub struct gvr_clock_time_point {
pub monotonic_system_time_nanos: i64,
}Expand description
A monotonic system time representation. On Android, this is equivalent to System.nanoTime(), or clock_gettime(CLOCK_MONOTONIC). If there is any doubt about how to get the current time for the current platform, simply use gvr_get_time_point_now().
Fields§
§monotonic_system_time_nanos: i64Trait Implementations§
Source§impl Clone for gvr_clock_time_point
impl Clone for gvr_clock_time_point
Source§fn clone(&self) -> gvr_clock_time_point
fn clone(&self) -> gvr_clock_time_point
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for gvr_clock_time_point
impl Debug for gvr_clock_time_point
impl Copy for gvr_clock_time_point
Auto Trait Implementations§
impl Freeze for gvr_clock_time_point
impl RefUnwindSafe for gvr_clock_time_point
impl Send for gvr_clock_time_point
impl Sync for gvr_clock_time_point
impl Unpin for gvr_clock_time_point
impl UnwindSafe for gvr_clock_time_point
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