pub struct SystemTime(/* private fields */);
Implementations§
Source§impl SystemTime
impl SystemTime
Trait Implementations§
Source§impl Clone for SystemTime
impl Clone for SystemTime
Source§fn clone(&self) -> SystemTime
fn clone(&self) -> SystemTime
Returns a copy 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 SystemTime
impl Debug for SystemTime
Source§impl Default for SystemTime
impl Default for SystemTime
Source§fn default() -> SystemTime
fn default() -> SystemTime
Returns the “default value” for a type. Read more
Source§impl From<SystemTime> for timespec
impl From<SystemTime> for timespec
Source§fn from(value: SystemTime) -> Self
fn from(value: SystemTime) -> Self
Converts to this type from the input type.
Source§impl From<timespec> for SystemTime
impl From<timespec> for SystemTime
impl Copy for SystemTime
Auto Trait Implementations§
impl Freeze for SystemTime
impl RefUnwindSafe for SystemTime
impl Send for SystemTime
impl Sync for SystemTime
impl Unpin for SystemTime
impl UnwindSafe for SystemTime
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