Trait objc2_ui_kit::NSTextContentStorageDelegate

source ·
pub unsafe trait NSTextContentStorageDelegate: NSTextContentManagerDelegate {
    // Provided method
    unsafe fn textContentStorage_textParagraphWithRange(
        &self,
        text_content_storage: &NSTextContentStorage,
        range: NSRange
    ) -> Option<Retained<NSTextParagraph>>
       where Self: Sized + Message { ... }
}
Available on crate feature NSTextContentManager only.

Provided Methods§

source

unsafe fn textContentStorage_textParagraphWithRange( &self, text_content_storage: &NSTextContentStorage, range: NSRange ) -> Option<Retained<NSTextParagraph>>
where Self: Sized + Message,

Available on crate feature NSTextElement only.

Trait Implementations§

source§

impl ProtocolType for dyn NSTextContentStorageDelegate

source§

const NAME: &'static str = "NSTextContentStorageDelegate"

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 NSTextContentStorageDelegate

Implementations on Foreign Types§

source§

impl<T> NSTextContentStorageDelegate for ProtocolObject<T>

Implementors§