pub unsafe trait NSValueMapKitGeometryExtensions:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn valueWithMKCoordinate(
coordinate: CLLocationCoordinate2D,
) -> Retained<NSValue> { ... }
unsafe fn valueWithMKCoordinateSpan(
span: MKCoordinateSpan,
) -> Retained<NSValue> { ... }
unsafe fn MKCoordinateValue(&self) -> CLLocationCoordinate2D { ... }
unsafe fn MKCoordinateSpanValue(&self) -> MKCoordinateSpan { ... }
}
Available on crate feature
MKGeometry
only.Expand description
Category on NSValue
.
Provided Methods§
unsafe fn valueWithMKCoordinate( coordinate: CLLocationCoordinate2D, ) -> Retained<NSValue>
Available on crate feature
objc2-core-location
only.unsafe fn valueWithMKCoordinateSpan(span: MKCoordinateSpan) -> Retained<NSValue>
Available on crate feature
objc2-core-location
only.unsafe fn MKCoordinateValue(&self) -> CLLocationCoordinate2D
Available on crate feature
objc2-core-location
only.unsafe fn MKCoordinateSpanValue(&self) -> MKCoordinateSpan
Available on crate feature
objc2-core-location
only.Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.