pub unsafe trait MKAnnotation: NSObjectProtocol {
// Provided methods
unsafe fn coordinate(&self) -> CLLocationCoordinate2D
where Self: Sized + Message { ... }
unsafe fn title(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
unsafe fn subtitle(&self) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
unsafe fn setCoordinate(&self, new_coordinate: CLLocationCoordinate2D)
where Self: Sized + Message { ... }
}
Available on crate feature
MKAnnotation
only.Expand description
Provided Methods§
unsafe fn coordinate(&self) -> CLLocationCoordinate2D
Available on crate feature
objc2-core-location
only.unsafe fn title(&self) -> Option<Retained<NSString>>
unsafe fn subtitle(&self) -> Option<Retained<NSString>>
unsafe fn setCoordinate(&self, new_coordinate: CLLocationCoordinate2D)
Available on crate feature
objc2-core-location
only.Trait Implementations§
Source§impl ProtocolType for dyn MKAnnotation
impl ProtocolType for dyn MKAnnotation
impl<T> ImplementedBy<T> for dyn MKAnnotation
Implementations on Foreign Types§
impl<T> MKAnnotation for ProtocolObject<T>where
T: ?Sized + MKAnnotation,
Implementors§
impl MKAnnotation for MKCircle
Available on crate feature
MKCircle
only.impl MKAnnotation for MKClusterAnnotation
Available on crate feature
MKClusterAnnotation
only.impl MKAnnotation for MKGeodesicPolyline
Available on crate feature
MKGeodesicPolyline
only.impl MKAnnotation for MKMapItemAnnotation
Available on crate feature
MKMapItemAnnotation
only.impl MKAnnotation for MKMultiPoint
Available on crate feature
MKMultiPoint
only.impl MKAnnotation for MKMultiPolygon
Available on crate feature
MKMultiPolygon
only.impl MKAnnotation for MKMultiPolyline
Available on crate feature
MKMultiPolyline
only.impl MKAnnotation for MKPlacemark
Available on crate feature
MKPlacemark
only.impl MKAnnotation for MKPointAnnotation
Available on crate feature
MKPointAnnotation
only.impl MKAnnotation for MKPolygon
Available on crate feature
MKPolygon
only.impl MKAnnotation for MKPolyline
Available on crate feature
MKPolyline
only.impl MKAnnotation for MKShape
Available on crate feature
MKShape
only.impl MKAnnotation for MKTileOverlay
Available on crate feature
MKTileOverlay
only.impl MKAnnotation for MKUserLocation
Available on crate feature
MKUserLocation
only.