#[repr(C)]pub struct tm_os_time_api {
pub now: Option<unsafe extern "C" fn() -> tm_clock_o>,
pub delta: Option<unsafe extern "C" fn(to: tm_clock_o, from: tm_clock_o) -> f64>,
pub add: Option<unsafe extern "C" fn(from: tm_clock_o, delta: f64) -> tm_clock_o>,
pub file_time_now: Option<unsafe extern "C" fn() -> tm_file_time_o>,
pub file_time_delta: Option<unsafe extern "C" fn(to: tm_file_time_o, from: tm_file_time_o) -> f64>,
}Fields§
§now: Option<unsafe extern "C" fn() -> tm_clock_o>§delta: Option<unsafe extern "C" fn(to: tm_clock_o, from: tm_clock_o) -> f64>§add: Option<unsafe extern "C" fn(from: tm_clock_o, delta: f64) -> tm_clock_o>§file_time_now: Option<unsafe extern "C" fn() -> tm_file_time_o>§file_time_delta: Option<unsafe extern "C" fn(to: tm_file_time_o, from: tm_file_time_o) -> f64>Trait Implementations§
Source§impl Clone for tm_os_time_api
impl Clone for tm_os_time_api
Source§fn clone(&self) -> tm_os_time_api
fn clone(&self) -> tm_os_time_api
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 moreimpl Copy for tm_os_time_api
Auto Trait Implementations§
impl Freeze for tm_os_time_api
impl RefUnwindSafe for tm_os_time_api
impl Send for tm_os_time_api
impl Sync for tm_os_time_api
impl Unpin for tm_os_time_api
impl UnwindSafe for tm_os_time_api
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