Trait objc2_app_kit::NSTextStorageDelegate

source ·
pub unsafe trait NSTextStorageDelegate: NSObjectProtocol {
    // Provided methods
    unsafe fn textStorage_willProcessEditing_range_changeInLength(
        &self,
        text_storage: &NSTextStorage,
        edited_mask: NSTextStorageEditActions,
        edited_range: NSRange,
        delta: NSInteger
    )
       where Self: Sized + Message { ... }
    unsafe fn textStorage_didProcessEditing_range_changeInLength(
        &self,
        text_storage: &NSTextStorage,
        edited_mask: NSTextStorageEditActions,
        edited_range: NSRange,
        delta: NSInteger
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSTextStorage only.

Provided Methods§

source

unsafe fn textStorage_willProcessEditing_range_changeInLength( &self, text_storage: &NSTextStorage, edited_mask: NSTextStorageEditActions, edited_range: NSRange, delta: NSInteger )
where Self: Sized + Message,

source

unsafe fn textStorage_didProcessEditing_range_changeInLength( &self, text_storage: &NSTextStorage, edited_mask: NSTextStorageEditActions, edited_range: NSRange, delta: NSInteger )
where Self: Sized + Message,

Trait Implementations§

source§

impl ProtocolType for dyn NSTextStorageDelegate

source§

const NAME: &'static str = "NSTextStorageDelegate"

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 NSTextStorageDelegate

Implementations on Foreign Types§

source§

impl<T> NSTextStorageDelegate for ProtocolObject<T>

Implementors§