Enum dioxus_std::geolocation::PowerMode
source · pub enum PowerMode {
High,
Low,
}Expand description
To conserve battery, some devices allow setting a desired accuracy based on your use-case.
Variants§
High
Will generally enable the on-board GPS for precise coordinates.
Low
Will generally use cell towers or WiFi beacons to determine the device’s location.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PowerMode
impl Send for PowerMode
impl Sync for PowerMode
impl Unpin for PowerMode
impl UnwindSafe for PowerMode
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