pub trait GeolocationManagerExt:
IsA<GeolocationManager>
+ Sealed
+ 'static {
// Provided methods
fn failed(&self, error_message: &str) { ... }
fn enables_high_accuracy(&self) -> bool { ... }
fn update_position(&self, position: &mut GeolocationPosition) { ... }
fn connect_start<F: Fn(&Self) -> bool + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_stop<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
fn connect_enable_high_accuracy_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Available on crate feature
v2_26
only.Provided Methods§
fn failed(&self, error_message: &str)
fn enables_high_accuracy(&self) -> bool
fn update_position(&self, position: &mut GeolocationPosition)
fn connect_start<F: Fn(&Self) -> bool + 'static>(&self, f: F) -> SignalHandlerId
fn connect_stop<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_enable_high_accuracy_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.