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§
unsafe fn textContentManager_textElementAtLocation( &self, text_content_manager: &NSTextContentManager, location: &ProtocolObject<dyn NSTextLocation>, ) -> Option<Retained<NSTextElement>>
Available on crate features
NSTextElement
and NSTextRange
only.unsafe fn textContentManager_shouldEnumerateTextElement_options( &self, text_content_manager: &NSTextContentManager, text_element: &NSTextElement, options: NSTextContentManagerEnumerationOptions, ) -> bool
Available on crate feature
NSTextElement
only.