#[repr(C)]pub struct WorldTimePoint(pub i64);Expand description
WorldTimePoint, a std::chrono::system_clock::time_point. The unit is
the library’s: nanoseconds under libstdc++, 100-nanosecond ticks under
Microsoft’s — hence WORLD_TICKS_PER_SECOND.
Tuple Fields§
§0: i64Trait Implementations§
Source§impl Clone for WorldTimePoint
impl Clone for WorldTimePoint
Source§fn clone(&self) -> WorldTimePoint
fn clone(&self) -> WorldTimePoint
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WorldTimePoint
Source§impl Debug for WorldTimePoint
impl Debug for WorldTimePoint
Source§impl Default for WorldTimePoint
impl Default for WorldTimePoint
Source§fn default() -> WorldTimePoint
fn default() -> WorldTimePoint
Returns the “default value” for a type. Read more
impl Eq for WorldTimePoint
Source§impl Hash for WorldTimePoint
impl Hash for WorldTimePoint
Source§impl Ord for WorldTimePoint
impl Ord for WorldTimePoint
Source§fn cmp(&self, other: &WorldTimePoint) -> Ordering
fn cmp(&self, other: &WorldTimePoint) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WorldTimePoint
impl PartialEq for WorldTimePoint
Source§impl PartialOrd for WorldTimePoint
impl PartialOrd for WorldTimePoint
impl StructuralPartialEq for WorldTimePoint
Auto Trait Implementations§
impl Freeze for WorldTimePoint
impl RefUnwindSafe for WorldTimePoint
impl Send for WorldTimePoint
impl Sync for WorldTimePoint
impl Unpin for WorldTimePoint
impl UnsafeUnpin for WorldTimePoint
impl UnwindSafe for WorldTimePoint
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