pub struct SetGeolocationOverride { /* private fields */ }๐Deprecated
Expand description
Overrides the Geolocation Position or Error. Omitting any of the parameters emulates position unavailable.
Implementationsยง
Sourceยงimpl SetGeolocationOverride
impl SetGeolocationOverride
pub fn new() -> Self
pub fn with_latitude(self, latitude: impl Into<f64>) -> Self
pub fn with_longitude(self, longitude: impl Into<f64>) -> Self
pub fn with_accuracy(self, accuracy: impl Into<f64>) -> Self
Trait Implementationsยง
Sourceยงimpl Clone for SetGeolocationOverride
impl Clone for SetGeolocationOverride
Sourceยงfn clone(&self) -> SetGeolocationOverride
fn clone(&self) -> SetGeolocationOverride
Returns a duplicate of the value. Read more
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSourceยงimpl Debug for SetGeolocationOverride
impl Debug for SetGeolocationOverride
Auto Trait Implementationsยง
impl Freeze for SetGeolocationOverride
impl RefUnwindSafe for SetGeolocationOverride
impl Send for SetGeolocationOverride
impl Sync for SetGeolocationOverride
impl Unpin for SetGeolocationOverride
impl UnsafeUnpin for SetGeolocationOverride
impl UnwindSafe for SetGeolocationOverride
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