pub enum GeolocationSource {
None,
MockOverride,
EnvOverride,
OsNativeDaemon,
HardwareGpsNmea,
IpGeolocationFallback,
}Expand description
Origin source of a geolocation fix.
Variants§
Trait Implementations§
Source§impl Clone for GeolocationSource
impl Clone for GeolocationSource
Source§fn clone(&self) -> GeolocationSource
fn clone(&self) -> GeolocationSource
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GeolocationSource
Source§impl Debug for GeolocationSource
impl Debug for GeolocationSource
Source§impl Default for GeolocationSource
impl Default for GeolocationSource
Source§fn default() -> GeolocationSource
fn default() -> GeolocationSource
Returns the “default value” for a type. Read more
impl Eq for GeolocationSource
Source§impl PartialEq for GeolocationSource
impl PartialEq for GeolocationSource
impl StructuralPartialEq for GeolocationSource
Auto Trait Implementations§
impl Forget for GeolocationSource
impl Freeze for GeolocationSource
impl Move for GeolocationSource
impl RefUnwindSafe for GeolocationSource
impl Send for GeolocationSource
impl Sync for GeolocationSource
impl Unpin for GeolocationSource
impl UnsafeUnpin for GeolocationSource
impl UnwindSafe for GeolocationSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.