Trait objc2_ui_kit::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.

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.
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§