#[repr(C)]pub struct tm_task_system_api {
pub run_task: Option<unsafe extern "C" fn(Option<unsafe extern "C" fn(*mut c_void, u64)>, *mut c_void, *const i8) -> u64>,
pub is_task_done: Option<unsafe extern "C" fn(u64) -> bool>,
pub is_task_done_else_assist: Option<unsafe extern "C" fn(u64) -> bool>,
pub cancel_task: Option<unsafe extern "C" fn(u64)>,
pub is_task_canceled: Option<unsafe extern "C" fn(u64) -> bool>,
}Fields§
§run_task: Option<unsafe extern "C" fn(Option<unsafe extern "C" fn(*mut c_void, u64)>, *mut c_void, *const i8) -> u64>§is_task_done: Option<unsafe extern "C" fn(u64) -> bool>§is_task_done_else_assist: Option<unsafe extern "C" fn(u64) -> bool>§cancel_task: Option<unsafe extern "C" fn(u64)>§is_task_canceled: Option<unsafe extern "C" fn(u64) -> bool>Trait Implementations§
Source§impl Clone for tm_task_system_api
impl Clone for tm_task_system_api
Source§fn clone(&self) -> tm_task_system_api
fn clone(&self) -> tm_task_system_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_task_system_api
Auto Trait Implementations§
impl Freeze for tm_task_system_api
impl RefUnwindSafe for tm_task_system_api
impl Send for tm_task_system_api
impl Sync for tm_task_system_api
impl Unpin for tm_task_system_api
impl UnwindSafe for tm_task_system_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