#[repr(C)]pub struct CLLocationCoordinate2D {
pub latitude: CLLocationDegrees,
pub longitude: CLLocationDegrees,
}
Available on crate feature
CLLocation
only.Fields§
§latitude: CLLocationDegrees
§longitude: CLLocationDegrees
Trait Implementations§
source§impl Clone for CLLocationCoordinate2D
impl Clone for CLLocationCoordinate2D
source§fn clone(&self) -> CLLocationCoordinate2D
fn clone(&self) -> CLLocationCoordinate2D
Returns a copy 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 CLLocationCoordinate2D
impl Debug for CLLocationCoordinate2D
source§impl Encode for CLLocationCoordinate2D
impl Encode for CLLocationCoordinate2D
source§impl PartialEq for CLLocationCoordinate2D
impl PartialEq for CLLocationCoordinate2D
source§fn eq(&self, other: &CLLocationCoordinate2D) -> bool
fn eq(&self, other: &CLLocationCoordinate2D) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RefEncode for CLLocationCoordinate2D
impl RefEncode for CLLocationCoordinate2D
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for CLLocationCoordinate2D
impl StructuralPartialEq for CLLocationCoordinate2D
Auto Trait Implementations§
impl Freeze for CLLocationCoordinate2D
impl RefUnwindSafe for CLLocationCoordinate2D
impl Send for CLLocationCoordinate2D
impl Sync for CLLocationCoordinate2D
impl Unpin for CLLocationCoordinate2D
impl UnwindSafe for CLLocationCoordinate2D
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.