#[repr(C)]pub struct MKGeodesicPolyline { /* private fields */ }👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitAvailable on crate features
MapKit and MapKit_MKGeodesicPolyline only.Implementations§
Source§impl MKGeodesicPolyline
impl MKGeodesicPolyline
pub unsafe fn polylineWithPoints_count( points: NonNull<MKMapPoint>, count: NSUInteger, ) -> Id<Self>
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitpub unsafe fn polylineWithCoordinates_count( coords: NonNull<CLLocationCoordinate2D>, count: NSUInteger, ) -> Id<Self>
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitMethods from Deref<Target = MKMultiPoint>§
pub unsafe fn points(&self) -> NonNull<MKMapPoint>
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitAvailable on crate feature
MapKit_MKMultiPoint only.pub unsafe fn pointCount(&self) -> NSUInteger
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitAvailable on crate feature
MapKit_MKMultiPoint only.pub unsafe fn getCoordinates_range( &self, coords: NonNull<CLLocationCoordinate2D>, range: NSRange, )
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitAvailable on crate feature
MapKit_MKMultiPoint only.pub unsafe fn locationAtPointIndex(&self, index: NSUInteger) -> CGFloat
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitAvailable on crate feature
MapKit_MKMultiPoint only.pub unsafe fn locationsAtPointIndexes( &self, indexes: &NSIndexSet, ) -> Id<NSArray<NSNumber>>
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitAvailable on crate features
MapKit_MKMultiPoint and Foundation_NSArray and Foundation_NSIndexSet and Foundation_NSNumber only.Methods from Deref<Target = MKShape>§
pub unsafe fn title(&self) -> Option<Id<NSString>>
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitAvailable on crate features
MapKit_MKShape and Foundation_NSString only.pub unsafe fn setTitle(&self, title: Option<&NSString>)
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitAvailable on crate features
MapKit_MKShape and Foundation_NSString only.pub unsafe fn subtitle(&self) -> Option<Id<NSString>>
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitAvailable on crate features
MapKit_MKShape and Foundation_NSString only.pub unsafe fn setSubtitle(&self, subtitle: Option<&NSString>)
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitAvailable on crate features
MapKit_MKShape and Foundation_NSString only.Methods from Deref<Target = NSObject>§
Sourcepub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
Available on crate feature AuthenticationServices only.
pub fn doesNotRecognizeSelector(&self, sel: Sel) -> !
AuthenticationServices only.Handle messages the object doesn’t recognize.
See Apple’s documentation for details.
Methods from Deref<Target = AnyObject>§
Sourcepub fn class(&self) -> &'static AnyClass
pub fn class(&self) -> &'static AnyClass
Dynamically find the class of this object.
§Example
Check that an instance of NSObject has the precise class NSObject.
use objc2::ClassType;
use objc2::runtime::NSObject;
let obj = NSObject::new();
assert_eq!(obj.class(), NSObject::class());Sourcepub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
👎Deprecated: this is difficult to use correctly, use Ivar::load instead.
pub unsafe fn get_ivar<T>(&self, name: &str) -> &Twhere
T: Encode,
Ivar::load instead.Use Ivar::load instead.
§Safety
The object must have an instance variable with the given name, and it
must be of type T.
See Ivar::load_ptr for details surrounding this.
Sourcepub unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut Twhere
T: Encode,
👎Deprecated: this is difficult to use correctly, use Ivar::load_mut instead.
pub unsafe fn get_mut_ivar<T>(&mut self, name: &str) -> &mut Twhere
T: Encode,
Ivar::load_mut instead.Use Ivar::load_mut instead.
§Safety
The object must have an instance variable with the given name, and it
must be of type T.
See Ivar::load_ptr for details surrounding this.
Trait Implementations§
Source§impl AsMut<AnyObject> for MKGeodesicPolyline
impl AsMut<AnyObject> for MKGeodesicPolyline
Source§impl AsMut<MKMultiPoint> for MKGeodesicPolyline
impl AsMut<MKMultiPoint> for MKGeodesicPolyline
Source§fn as_mut(&mut self) -> &mut MKMultiPoint
fn as_mut(&mut self) -> &mut MKMultiPoint
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<MKPolyline> for MKGeodesicPolyline
impl AsMut<MKPolyline> for MKGeodesicPolyline
Source§fn as_mut(&mut self) -> &mut MKPolyline
fn as_mut(&mut self) -> &mut MKPolyline
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsMut<MKShape> for MKGeodesicPolyline
impl AsMut<MKShape> for MKGeodesicPolyline
Source§impl AsMut<NSObject> for MKGeodesicPolyline
impl AsMut<NSObject> for MKGeodesicPolyline
Source§impl AsRef<AnyObject> for MKGeodesicPolyline
impl AsRef<AnyObject> for MKGeodesicPolyline
Source§impl AsRef<MKMultiPoint> for MKGeodesicPolyline
impl AsRef<MKMultiPoint> for MKGeodesicPolyline
Source§fn as_ref(&self) -> &MKMultiPoint
fn as_ref(&self) -> &MKMultiPoint
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<MKPolyline> for MKGeodesicPolyline
impl AsRef<MKPolyline> for MKGeodesicPolyline
Source§fn as_ref(&self) -> &MKPolyline
fn as_ref(&self) -> &MKPolyline
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl AsRef<MKShape> for MKGeodesicPolyline
impl AsRef<MKShape> for MKGeodesicPolyline
Source§impl AsRef<NSObject> for MKGeodesicPolyline
impl AsRef<NSObject> for MKGeodesicPolyline
Source§impl Borrow<AnyObject> for MKGeodesicPolyline
impl Borrow<AnyObject> for MKGeodesicPolyline
Source§impl Borrow<MKMultiPoint> for MKGeodesicPolyline
impl Borrow<MKMultiPoint> for MKGeodesicPolyline
Source§fn borrow(&self) -> &MKMultiPoint
fn borrow(&self) -> &MKMultiPoint
Immutably borrows from an owned value. Read more
Source§impl Borrow<MKPolyline> for MKGeodesicPolyline
impl Borrow<MKPolyline> for MKGeodesicPolyline
Source§fn borrow(&self) -> &MKPolyline
fn borrow(&self) -> &MKPolyline
Immutably borrows from an owned value. Read more
Source§impl Borrow<MKShape> for MKGeodesicPolyline
impl Borrow<MKShape> for MKGeodesicPolyline
Source§impl Borrow<NSObject> for MKGeodesicPolyline
impl Borrow<NSObject> for MKGeodesicPolyline
Source§impl BorrowMut<AnyObject> for MKGeodesicPolyline
impl BorrowMut<AnyObject> for MKGeodesicPolyline
Source§fn borrow_mut(&mut self) -> &mut AnyObject
fn borrow_mut(&mut self) -> &mut AnyObject
Mutably borrows from an owned value. Read more
Source§impl BorrowMut<MKMultiPoint> for MKGeodesicPolyline
impl BorrowMut<MKMultiPoint> for MKGeodesicPolyline
Source§fn borrow_mut(&mut self) -> &mut MKMultiPoint
fn borrow_mut(&mut self) -> &mut MKMultiPoint
Mutably borrows from an owned value. Read more
Source§impl BorrowMut<MKPolyline> for MKGeodesicPolyline
impl BorrowMut<MKPolyline> for MKGeodesicPolyline
Source§fn borrow_mut(&mut self) -> &mut MKPolyline
fn borrow_mut(&mut self) -> &mut MKPolyline
Mutably borrows from an owned value. Read more
Source§impl BorrowMut<MKShape> for MKGeodesicPolyline
impl BorrowMut<MKShape> for MKGeodesicPolyline
Source§fn borrow_mut(&mut self) -> &mut MKShape
fn borrow_mut(&mut self) -> &mut MKShape
Mutably borrows from an owned value. Read more
Source§impl BorrowMut<NSObject> for MKGeodesicPolyline
impl BorrowMut<NSObject> for MKGeodesicPolyline
Source§fn borrow_mut(&mut self) -> &mut NSObject
fn borrow_mut(&mut self) -> &mut NSObject
Mutably borrows from an owned value. Read more
Source§impl ClassType for MKGeodesicPolyline
impl ClassType for MKGeodesicPolyline
Source§const NAME: &'static str = "MKGeodesicPolyline"
const NAME: &'static str = "MKGeodesicPolyline"
The name of the Objective-C class that this type represents. Read more
Source§type Super = MKPolyline
type Super = MKPolyline
The superclass of this class. Read more
Source§type Mutability = InteriorMutable
type Mutability = InteriorMutable
Whether the type is mutable or immutable. Read more
Source§fn class() -> &'static AnyClass
fn class() -> &'static AnyClass
Get a reference to the Objective-C class that this type represents. Read more
Source§fn as_super_mut(&mut self) -> &mut Self::Super
fn as_super_mut(&mut self) -> &mut Self::Super
Get a mutable reference to the superclass.
Source§impl Debug for MKGeodesicPolyline
impl Debug for MKGeodesicPolyline
Source§impl Deref for MKGeodesicPolyline
impl Deref for MKGeodesicPolyline
Source§impl DerefMut for MKGeodesicPolyline
impl DerefMut for MKGeodesicPolyline
Source§impl Hash for MKGeodesicPolyline
impl Hash for MKGeodesicPolyline
Source§impl MKAnnotation for MKGeodesicPolyline
impl MKAnnotation for MKGeodesicPolyline
Source§unsafe fn coordinate(&self) -> CLLocationCoordinate2D
unsafe fn coordinate(&self) -> CLLocationCoordinate2D
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitSource§unsafe fn title(&self) -> Option<Id<NSString>>
unsafe fn title(&self) -> Option<Id<NSString>>
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitAvailable on crate feature
Foundation_NSString only.Source§unsafe fn subtitle(&self) -> Option<Id<NSString>>
unsafe fn subtitle(&self) -> Option<Id<NSString>>
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitAvailable on crate feature
Foundation_NSString only.Source§unsafe fn setCoordinate(&self, new_coordinate: CLLocationCoordinate2D)
unsafe fn setCoordinate(&self, new_coordinate: CLLocationCoordinate2D)
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitSource§impl MKOverlay for MKGeodesicPolyline
impl MKOverlay for MKGeodesicPolyline
Source§unsafe fn coordinate(&self) -> CLLocationCoordinate2D
unsafe fn coordinate(&self) -> CLLocationCoordinate2D
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitSource§unsafe fn boundingMapRect(&self) -> MKMapRect
unsafe fn boundingMapRect(&self) -> MKMapRect
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitSource§unsafe fn intersectsMapRect(&self, map_rect: MKMapRect) -> bool
unsafe fn intersectsMapRect(&self, map_rect: MKMapRect) -> bool
👎Deprecated:
icrate::MapKit has been moved to objc2-map-kitSource§impl NSObjectProtocol for MKGeodesicPolyline
impl NSObjectProtocol for MKGeodesicPolyline
Source§fn isEqual(&self, other: &AnyObject) -> bool
fn isEqual(&self, other: &AnyObject) -> bool
Check whether the object is equal to an arbitrary other object. Read more
Source§fn hash(&self) -> usize
fn hash(&self) -> usize
An integer that can be used as a table address in a hash table
structure. Read more
Source§fn isKindOfClass(&self, cls: &AnyClass) -> bool
fn isKindOfClass(&self, cls: &AnyClass) -> bool
Check if the object is an instance of the class, or one of its
subclasses. Read more
Source§fn is_kind_of<T>(&self) -> bool
fn is_kind_of<T>(&self) -> bool
Check if the object is an instance of the class type, or one of its
subclasses. Read more
Source§fn isMemberOfClass(&self, cls: &AnyClass) -> bool
fn isMemberOfClass(&self, cls: &AnyClass) -> bool
Check if the object is an instance of a specific class, without
checking subclasses. Read more
Source§fn respondsToSelector(&self, aSelector: Sel) -> bool
fn respondsToSelector(&self, aSelector: Sel) -> bool
Check whether the object implements or inherits a method with the
given selector. Read more
Source§fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
fn conformsToProtocol(&self, aProtocol: &AnyProtocol) -> bool
Check whether the object conforms to a given protocol. Read more
Source§fn debugDescription(&self) -> Id<NSObject>
fn debugDescription(&self) -> Id<NSObject>
A textual representation of the object to use when debugging. Read more
Source§impl PartialEq for MKGeodesicPolyline
impl PartialEq for MKGeodesicPolyline
Source§impl RefEncode for MKGeodesicPolyline
impl RefEncode for MKGeodesicPolyline
Source§const ENCODING_REF: Encoding = <MKPolyline as ::objc2::RefEncode>::ENCODING_REF
const ENCODING_REF: Encoding = <MKPolyline as ::objc2::RefEncode>::ENCODING_REF
The Objective-C type-encoding for a reference of this type. Read more
impl Eq for MKGeodesicPolyline
impl Message for MKGeodesicPolyline
impl StructuralPartialEq for MKGeodesicPolyline
Auto Trait Implementations§
impl !Freeze for MKGeodesicPolyline
impl !RefUnwindSafe for MKGeodesicPolyline
impl !Send for MKGeodesicPolyline
impl !Sync for MKGeodesicPolyline
impl !Unpin for MKGeodesicPolyline
impl !UnwindSafe for MKGeodesicPolyline
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