#[repr(C)]pub struct UpdateTrackerApi {
pub init: Option<unsafe extern "C" fn(allocator: *mut AllocatorI)>,
pub should_show_update_notification: Option<unsafe extern "C" fn(app: *mut ApplicationO) -> bool>,
pub shutdown: Option<unsafe extern "C" fn()>,
}Fields§
§init: Option<unsafe extern "C" fn(allocator: *mut AllocatorI)>§should_show_update_notification: Option<unsafe extern "C" fn(app: *mut ApplicationO) -> bool>§shutdown: Option<unsafe extern "C" fn()>Implementations§
Source§impl UpdateTrackerApi
impl UpdateTrackerApi
pub unsafe fn init(&self, allocator: *mut AllocatorI)
pub unsafe fn should_show_update_notification( &self, app: *mut ApplicationO, ) -> bool
pub unsafe fn shutdown(&self)
Trait Implementations§
Source§impl Clone for UpdateTrackerApi
impl Clone for UpdateTrackerApi
Source§fn clone(&self) -> UpdateTrackerApi
fn clone(&self) -> UpdateTrackerApi
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 moreSource§impl Default for UpdateTrackerApi
impl Default for UpdateTrackerApi
Source§fn default() -> UpdateTrackerApi
fn default() -> UpdateTrackerApi
Returns the “default value” for a type. Read more
impl Copy for UpdateTrackerApi
Auto Trait Implementations§
impl Freeze for UpdateTrackerApi
impl RefUnwindSafe for UpdateTrackerApi
impl Send for UpdateTrackerApi
impl Sync for UpdateTrackerApi
impl Unpin for UpdateTrackerApi
impl UnwindSafe for UpdateTrackerApi
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