pub unsafe trait NSTextContentManagerDelegate: NSObjectProtocol {
// Provided methods
fn textContentManager_textElementAtLocation(
&self,
text_content_manager: &NSTextContentManager,
location: &ProtocolObject<dyn NSTextLocation>,
) -> Option<Retained<NSTextElement>>
where Self: Sized + Message { ... }
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§
fn textContentManager_textElementAtLocation( &self, text_content_manager: &NSTextContentManager, location: &ProtocolObject<dyn NSTextLocation>, ) -> Option<Retained<NSTextElement>>
Available on crate features
NSTextElement and NSTextRange only.fn textContentManager_shouldEnumerateTextElement_options( &self, text_content_manager: &NSTextContentManager, text_element: &NSTextElement, options: NSTextContentManagerEnumerationOptions, ) -> bool
Available on crate feature
NSTextElement only.Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSTextContentManagerDelegate
Source§impl ProtocolType for dyn NSTextContentManagerDelegate
impl ProtocolType for dyn NSTextContentManagerDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".