pub struct CLLocation {
pub latitude: f64,
pub longitude: f64,
}Fields§
§latitude: f64§longitude: f64Implementations§
Trait Implementations§
Source§impl Clone for CLLocation
impl Clone for CLLocation
Source§fn clone(&self) -> CLLocation
fn clone(&self) -> CLLocation
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 moreSource§impl Debug for CLLocation
impl Debug for CLLocation
Source§impl<'de> Deserialize<'de> for CLLocation
impl<'de> Deserialize<'de> for CLLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CLLocation
impl PartialEq for CLLocation
Source§fn eq(&self, other: &CLLocation) -> bool
fn eq(&self, other: &CLLocation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CLLocation
impl StructuralPartialEq for CLLocation
Auto Trait Implementations§
impl Freeze for CLLocation
impl RefUnwindSafe for CLLocation
impl Send for CLLocation
impl Sync for CLLocation
impl Unpin for CLLocation
impl UnsafeUnpin for CLLocation
impl UnwindSafe for CLLocation
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