#[repr(C)]pub struct tm_job_system_api {
pub run_jobs: Option<unsafe extern "C" fn(*mut tm_jobdecl_t, u32) -> *mut tm_atomic_counter_o>,
pub run_jobs_and_auto_free_counter: Option<unsafe extern "C" fn(*mut tm_jobdecl_t, u32)>,
pub wait_for_counter: Option<unsafe extern "C" fn(*mut tm_atomic_counter_o, u32)>,
pub wait_for_counter_and_free: Option<unsafe extern "C" fn(*mut tm_atomic_counter_o)>,
pub wait_for_counter_and_free_no_fiber: Option<unsafe extern "C" fn(*mut tm_atomic_counter_o)>,
pub pin_thread_handle: Option<unsafe extern "C" fn(u32) -> u32>,
pub num_worker_threads: Option<unsafe extern "C" fn() -> u32>,
}Fields§
§run_jobs: Option<unsafe extern "C" fn(*mut tm_jobdecl_t, u32) -> *mut tm_atomic_counter_o>§run_jobs_and_auto_free_counter: Option<unsafe extern "C" fn(*mut tm_jobdecl_t, u32)>§wait_for_counter: Option<unsafe extern "C" fn(*mut tm_atomic_counter_o, u32)>§wait_for_counter_and_free: Option<unsafe extern "C" fn(*mut tm_atomic_counter_o)>§wait_for_counter_and_free_no_fiber: Option<unsafe extern "C" fn(*mut tm_atomic_counter_o)>§pin_thread_handle: Option<unsafe extern "C" fn(u32) -> u32>§num_worker_threads: Option<unsafe extern "C" fn() -> u32>Trait Implementations§
Source§impl Clone for tm_job_system_api
impl Clone for tm_job_system_api
Source§fn clone(&self) -> tm_job_system_api
fn clone(&self) -> tm_job_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_job_system_api
Auto Trait Implementations§
impl Freeze for tm_job_system_api
impl RefUnwindSafe for tm_job_system_api
impl Send for tm_job_system_api
impl Sync for tm_job_system_api
impl Unpin for tm_job_system_api
impl UnwindSafe for tm_job_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