#[repr(C)]pub struct retro_location_callback {
pub start: Option<unsafe extern "C" fn() -> bool>,
pub stop: Option<unsafe extern "C" fn()>,
pub get_position: Option<unsafe extern "C" fn(*mut f64, *mut f64, *mut f64, *mut f64) -> bool>,
pub set_interval: Option<unsafe extern "C" fn(u32, u32)>,
pub initialized: Option<unsafe extern "C" fn()>,
pub deinitialized: Option<unsafe extern "C" fn()>,
}Fields§
§start: Option<unsafe extern "C" fn() -> bool>§stop: Option<unsafe extern "C" fn()>§get_position: Option<unsafe extern "C" fn(*mut f64, *mut f64, *mut f64, *mut f64) -> bool>§set_interval: Option<unsafe extern "C" fn(u32, u32)>§initialized: Option<unsafe extern "C" fn()>§deinitialized: Option<unsafe extern "C" fn()>Trait Implementations§
Source§impl Clone for retro_location_callback
impl Clone for retro_location_callback
Source§fn clone(&self) -> retro_location_callback
fn clone(&self) -> retro_location_callback
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 Debug for retro_location_callback
impl Debug for retro_location_callback
impl Copy for retro_location_callback
Auto Trait Implementations§
impl Freeze for retro_location_callback
impl RefUnwindSafe for retro_location_callback
impl Send for retro_location_callback
impl Sync for retro_location_callback
impl Unpin for retro_location_callback
impl UnwindSafe for retro_location_callback
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