icrate 0.1.2

Bindings to Apple's frameworks
Documentation
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use crate::common::*;
use crate::AppKit::*;
use crate::Contacts::*;
use crate::CoreLocation::*;
use crate::Foundation::*;
use crate::MapKit::*;

extern_protocol!(
    pub unsafe trait MKOverlay: MKAnnotation {
        #[method(coordinate)]
        unsafe fn coordinate(&self) -> CLLocationCoordinate2D;

        #[method(boundingMapRect)]
        unsafe fn boundingMapRect(&self) -> MKMapRect;

        #[optional]
        #[method(intersectsMapRect:)]
        unsafe fn intersectsMapRect(&self, map_rect: MKMapRect) -> bool;

        #[optional]
        #[method(canReplaceMapContent)]
        unsafe fn canReplaceMapContent(&self) -> bool;
    }

    unsafe impl ProtocolType for dyn MKOverlay {}
);