#[repr(C)]pub struct ShumateLocationInterface {
pub g_iface: GTypeInterface,
pub get_latitude: Option<unsafe extern "C" fn(*mut ShumateLocation) -> c_double>,
pub get_longitude: Option<unsafe extern "C" fn(*mut ShumateLocation) -> c_double>,
pub set_location: Option<unsafe extern "C" fn(*mut ShumateLocation, c_double, c_double)>,
}
Fields§
§g_iface: GTypeInterface
§get_latitude: Option<unsafe extern "C" fn(*mut ShumateLocation) -> c_double>
§get_longitude: Option<unsafe extern "C" fn(*mut ShumateLocation) -> c_double>
§set_location: Option<unsafe extern "C" fn(*mut ShumateLocation, c_double, c_double)>
Trait Implementations§
Source§impl Clone for ShumateLocationInterface
impl Clone for ShumateLocationInterface
Source§fn clone(&self) -> ShumateLocationInterface
fn clone(&self) -> ShumateLocationInterface
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 ShumateLocationInterface
impl Debug for ShumateLocationInterface
impl Copy for ShumateLocationInterface
Auto Trait Implementations§
impl Freeze for ShumateLocationInterface
impl RefUnwindSafe for ShumateLocationInterface
impl Send for ShumateLocationInterface
impl Sync for ShumateLocationInterface
impl Unpin for ShumateLocationInterface
impl UnwindSafe for ShumateLocationInterface
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