Trait NSTextContentManagerDelegate

Source
pub unsafe trait NSTextContentManagerDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn textContentManager_textElementAtLocation(
        &self,
        text_content_manager: &NSTextContentManager,
        location: &ProtocolObject<dyn NSTextLocation>,
    ) -> Option<Retained<NSTextElement>>
       where Self: Sized + Message { ... }
    unsafe fn textContentManager_shouldEnumerateTextElement_options(
        &self,
        text_content_manager: &NSTextContentManager,
        text_element: &NSTextElement,
        options: NSTextContentManagerEnumerationOptions,
    ) -> bool
       where Self: Sized + Message { ... }
}
Available on crate feature NSTextContentManager only.
Expand description

Provided Methods§

Source

unsafe fn textContentManager_textElementAtLocation( &self, text_content_manager: &NSTextContentManager, location: &ProtocolObject<dyn NSTextLocation>, ) -> Option<Retained<NSTextElement>>
where Self: Sized + Message,

Available on crate features NSTextElement and NSTextRange only.
Source

unsafe fn textContentManager_shouldEnumerateTextElement_options( &self, text_content_manager: &NSTextContentManager, text_element: &NSTextElement, options: NSTextContentManagerEnumerationOptions, ) -> bool
where Self: Sized + Message,

Available on crate feature NSTextElement only.

Trait Implementations§

Source§

impl ProtocolType for dyn NSTextContentManagerDelegate

Source§

const NAME: &'static str = "NSTextContentManagerDelegate"

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 NSTextContentManagerDelegate

Implementations on Foreign Types§

Source§

impl<T> NSTextContentManagerDelegate for ProtocolObject<T>

Implementors§