#[repr(C)]pub struct MKCoordinateRegion {
pub center: CLLocationCoordinate2D,
pub span: MKCoordinateSpan,
}
Available on crate features
MKGeometry
and objc2-core-location
only.Expand description
Fields§
§center: CLLocationCoordinate2D
§span: MKCoordinateSpan
Implementations§
Source§impl MKCoordinateRegion
impl MKCoordinateRegion
pub unsafe fn with_distance( center_coordinate: CLLocationCoordinate2D, latitudinal_meters: CLLocationDistance, longitudinal_meters: CLLocationDistance, ) -> MKCoordinateRegion
Source§impl MKCoordinateRegion
impl MKCoordinateRegion
pub unsafe fn for_map_rect(rect: MKMapRect) -> MKCoordinateRegion
Trait Implementations§
Source§impl Clone for MKCoordinateRegion
impl Clone for MKCoordinateRegion
Source§fn clone(&self) -> MKCoordinateRegion
fn clone(&self) -> MKCoordinateRegion
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 MKCoordinateRegion
impl Debug for MKCoordinateRegion
Source§impl Encode for MKCoordinateRegion
impl Encode for MKCoordinateRegion
Source§impl PartialEq for MKCoordinateRegion
impl PartialEq for MKCoordinateRegion
Source§impl RefEncode for MKCoordinateRegion
impl RefEncode for MKCoordinateRegion
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 MKCoordinateRegion
impl StructuralPartialEq for MKCoordinateRegion
Auto Trait Implementations§
impl Freeze for MKCoordinateRegion
impl RefUnwindSafe for MKCoordinateRegion
impl Send for MKCoordinateRegion
impl Sync for MKCoordinateRegion
impl Unpin for MKCoordinateRegion
impl UnwindSafe for MKCoordinateRegion
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<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.