pub trait LocationProvider: Send + Sync {
// Required method
fn locate(&self) -> LocationChannel;
}Expand description
Where the device’s position comes from in this process: the host’s provider, or nothing.
Required Methods§
fn locate(&self) -> LocationChannel
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".