pub unsafe trait MKOverlay: MKAnnotation {
// Provided methods
unsafe fn coordinate(&self) -> CLLocationCoordinate2D
where Self: Sized + Message { ... }
unsafe fn boundingMapRect(&self) -> MKMapRect
where Self: Sized + Message { ... }
unsafe fn intersectsMapRect(&self, map_rect: MKMapRect) -> bool
where Self: Sized + Message { ... }
unsafe fn canReplaceMapContent(&self) -> bool
where Self: Sized + Message { ... }
}
Available on crate features
MKAnnotation
and MKOverlay
only.Expand description
Provided Methods§
unsafe fn coordinate(&self) -> CLLocationCoordinate2D
Available on crate feature
objc2-core-location
only.unsafe fn boundingMapRect(&self) -> MKMapRect
Available on crate feature
MKGeometry
only.unsafe fn intersectsMapRect(&self, map_rect: MKMapRect) -> bool
Available on crate feature
MKGeometry
only.unsafe fn canReplaceMapContent(&self) -> bool
Trait Implementations§
Source§impl ProtocolType for dyn MKOverlay
impl ProtocolType for dyn MKOverlay
impl<T> ImplementedBy<T> for dyn MKOverlay
Implementations on Foreign Types§
impl<T> MKOverlay for ProtocolObject<T>
Implementors§
impl MKOverlay for MKCircle
Available on crate feature
MKCircle
only.impl MKOverlay for MKGeodesicPolyline
Available on crate feature
MKGeodesicPolyline
only.impl MKOverlay for MKMultiPolygon
Available on crate feature
MKMultiPolygon
only.impl MKOverlay for MKMultiPolyline
Available on crate feature
MKMultiPolyline
only.impl MKOverlay for MKPolygon
Available on crate feature
MKPolygon
only.impl MKOverlay for MKPolyline
Available on crate feature
MKPolyline
only.impl MKOverlay for MKTileOverlay
Available on crate feature
MKTileOverlay
only.