pub unsafe trait NSTextStorageDelegate: NSObjectProtocol {
// Provided methods
fn textStorage_willProcessEditing_range_changeInLength(
&self,
text_storage: &NSTextStorage,
edited_mask: NSTextStorageEditActions,
edited_range: NSRange,
delta: NSInteger,
)
where Self: Sized + Message { ... }
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.Expand description
** NSTextStorage delegate methods ***
See also Apple’s documentation
Provided Methods§
fn textStorage_willProcessEditing_range_changeInLength( &self, text_storage: &NSTextStorage, edited_mask: NSTextStorageEditActions, edited_range: NSRange, delta: NSInteger, )
fn textStorage_didProcessEditing_range_changeInLength( &self, text_storage: &NSTextStorage, edited_mask: NSTextStorageEditActions, edited_range: NSRange, delta: NSInteger, )
Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSTextStorageDelegate
Source§impl ProtocolType for dyn NSTextStorageDelegate
impl ProtocolType for dyn NSTextStorageDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".