retro_location_get_position_t

Type Alias retro_location_get_position_t 

Source
pub type retro_location_get_position_t = Option<unsafe extern "C" fn(lat: *mut f64, lon: *mut f64, horiz_accuracy: *mut f64, vert_accuracy: *mut f64) -> bool>;
Expand description

Get the position of the current location. Will set parameters to 0 if no new location update has happened since the last time.

Aliased Type§

pub enum retro_location_get_position_t {
    None,
    Some(unsafe extern "C" fn(*mut f64, *mut f64, *mut f64, *mut f64) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut f64, *mut f64, *mut f64, *mut f64) -> bool)

Some value of type T.