#[repr(C)]pub struct tm_progress_report_api {
pub create: Option<unsafe extern "C" fn(*mut tm_allocator_i, f32)>,
pub destroy: Option<unsafe extern "C" fn()>,
pub update: Option<unsafe extern "C" fn(f64, *mut tm_temp_allocator_i) -> tm_task_progress_t>,
pub status: Option<unsafe extern "C" fn(*mut tm_temp_allocator_i) -> tm_task_status_t>,
pub idle: Option<unsafe extern "C" fn() -> bool>,
pub set_task_progress: Option<unsafe extern "C" fn(u64, *const i8, f32)>,
}Fields§
§create: Option<unsafe extern "C" fn(*mut tm_allocator_i, f32)>§destroy: Option<unsafe extern "C" fn()>§update: Option<unsafe extern "C" fn(f64, *mut tm_temp_allocator_i) -> tm_task_progress_t>§status: Option<unsafe extern "C" fn(*mut tm_temp_allocator_i) -> tm_task_status_t>§idle: Option<unsafe extern "C" fn() -> bool>§set_task_progress: Option<unsafe extern "C" fn(u64, *const i8, f32)>Trait Implementations§
Source§impl Clone for tm_progress_report_api
impl Clone for tm_progress_report_api
Source§fn clone(&self) -> tm_progress_report_api
fn clone(&self) -> tm_progress_report_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_progress_report_api
Auto Trait Implementations§
impl Freeze for tm_progress_report_api
impl RefUnwindSafe for tm_progress_report_api
impl Send for tm_progress_report_api
impl Sync for tm_progress_report_api
impl Unpin for tm_progress_report_api
impl UnwindSafe for tm_progress_report_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