Struct dioxus_std::geolocation::Geolocator
source · pub struct Geolocator { /* private fields */ }Expand description
Represents the geolocation abstraction.
Implementations§
source§impl Geolocator
impl Geolocator
sourcepub async fn get_coordinates(&self) -> Result<Geocoordinates, Error>
pub async fn get_coordinates(&self) -> Result<Geocoordinates, Error>
Get the latest coordinates from the device.
Auto Trait Implementations§
impl RefUnwindSafe for Geolocator
impl Send for Geolocator
impl Sync for Geolocator
impl Unpin for Geolocator
impl UnwindSafe for Geolocator
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