Trait MKOverlay

Source
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§

Source

unsafe fn coordinate(&self) -> CLLocationCoordinate2D
where Self: Sized + Message,

Available on crate feature objc2-core-location only.
Source

unsafe fn boundingMapRect(&self) -> MKMapRect
where Self: Sized + Message,

Available on crate feature MKGeometry only.
Source

unsafe fn intersectsMapRect(&self, map_rect: MKMapRect) -> bool
where Self: Sized + Message,

Available on crate feature MKGeometry only.
Source

unsafe fn canReplaceMapContent(&self) -> bool
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn MKOverlay

Source§

const NAME: &'static str = "MKOverlay"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn MKOverlay
where T: ?Sized + Message + MKOverlay,

Implementations on Foreign Types§

Source§

impl<T> MKOverlay for ProtocolObject<T>
where T: ?Sized + MKOverlay,

Implementors§

Source§

impl MKOverlay for MKCircle

Available on crate feature MKCircle only.
Source§

impl MKOverlay for MKGeodesicPolyline

Available on crate feature MKGeodesicPolyline only.
Source§

impl MKOverlay for MKMultiPolygon

Available on crate feature MKMultiPolygon only.
Source§

impl MKOverlay for MKMultiPolyline

Available on crate feature MKMultiPolyline only.
Source§

impl MKOverlay for MKPolygon

Available on crate feature MKPolygon only.
Source§

impl MKOverlay for MKPolyline

Available on crate feature MKPolyline only.
Source§

impl MKOverlay for MKTileOverlay

Available on crate feature MKTileOverlay only.