Struct swift_runtime_sys::root::std::chrono::system_clock    
source · #[repr(C, align(1))]pub struct system_clock {
    pub _bindgen_opaque_blob: u8,
}Fields§
§_bindgen_opaque_blob: u8Implementations§
source§impl system_clock
 
impl system_clock
pub unsafe fn now() -> system_clock_time_point
pub unsafe fn to_time_t(__t: *const system_clock_time_point) -> c_long
pub unsafe fn from_time_t(__t: c_long) -> system_clock_time_point
Trait Implementations§
source§impl Clone for system_clock
 
impl Clone for system_clock
source§fn clone(&self) -> system_clock
 
fn clone(&self) -> system_clock
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 system_clock
 
impl Debug for system_clock
impl Copy for system_clock
Auto Trait Implementations§
impl Freeze for system_clock
impl RefUnwindSafe for system_clock
impl Send for system_clock
impl Sync for system_clock
impl Unpin for system_clock
impl UnwindSafe for system_clock
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
    T: Copy,
 
impl<T> CloneToUninit for Twhere
    T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)