PDFDocumentDelegate

Trait PDFDocumentDelegate 

Source
pub unsafe trait PDFDocumentDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn documentDidUnlock(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn documentDidBeginDocumentFind(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn documentDidEndDocumentFind(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn documentDidBeginPageFind(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn documentDidEndPageFind(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn documentDidFindMatch(&self, notification: &NSNotification)
       where Self: Sized + Message { ... }
    unsafe fn didMatchString(&self, instance: &PDFSelection)
       where Self: Sized + Message { ... }
    unsafe fn classForPage(&self) -> &'static AnyClass
       where Self: Sized + Message { ... }
    unsafe fn classForAnnotationType(
        &self,
        annotation_type: &NSString,
    ) -> &'static AnyClass
       where Self: Sized + Message { ... }
    unsafe fn classForAnnotationClass(
        &self,
        annotation_class: &AnyClass,
    ) -> &'static AnyClass
       where Self: Sized + Message { ... }
}
Available on crate feature PDFDocument only.
Expand description

Provided Methods§

Source

unsafe fn documentDidUnlock(&self, notification: &NSNotification)
where Self: Sized + Message,

Source

unsafe fn documentDidBeginDocumentFind(&self, notification: &NSNotification)
where Self: Sized + Message,

Source

unsafe fn documentDidEndDocumentFind(&self, notification: &NSNotification)
where Self: Sized + Message,

Source

unsafe fn documentDidBeginPageFind(&self, notification: &NSNotification)
where Self: Sized + Message,

Source

unsafe fn documentDidEndPageFind(&self, notification: &NSNotification)
where Self: Sized + Message,

Source

unsafe fn documentDidFindMatch(&self, notification: &NSNotification)
where Self: Sized + Message,

Source

unsafe fn didMatchString(&self, instance: &PDFSelection)
where Self: Sized + Message,

Available on crate feature PDFSelection only.
Source

unsafe fn classForPage(&self) -> &'static AnyClass
where Self: Sized + Message,

Source

unsafe fn classForAnnotationType( &self, annotation_type: &NSString, ) -> &'static AnyClass
where Self: Sized + Message,

Source

unsafe fn classForAnnotationClass( &self, annotation_class: &AnyClass, ) -> &'static AnyClass
where Self: Sized + Message,

👎Deprecated
§Safety

annotation_class probably has further requirements.

Trait Implementations§

Source§

impl ProtocolType for dyn PDFDocumentDelegate

Source§

const NAME: &'static str = "PDFDocumentDelegate"

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 PDFDocumentDelegate

Implementations on Foreign Types§

Source§

impl<T> PDFDocumentDelegate for ProtocolObject<T>

Implementors§