Trait objc2_app_kit::NSSearchFieldDelegate

source ·
pub unsafe trait NSSearchFieldDelegate: NSTextFieldDelegate + IsMainThreadOnly {
    // Provided methods
    unsafe fn searchFieldDidStartSearching(&self, sender: &NSSearchField)
       where Self: Sized + Message { ... }
    unsafe fn searchFieldDidEndSearching(&self, sender: &NSSearchField)
       where Self: Sized + Message { ... }
}
Available on crate features NSControl and NSSearchField and NSTextField only.

Provided Methods§

source

unsafe fn searchFieldDidStartSearching(&self, sender: &NSSearchField)
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
source

unsafe fn searchFieldDidEndSearching(&self, sender: &NSSearchField)
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.

Trait Implementations§

source§

impl ProtocolType for dyn NSSearchFieldDelegate

source§

const NAME: &'static str = "NSSearchFieldDelegate"

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 NSSearchFieldDelegate

Implementations on Foreign Types§

source§

impl<T> NSSearchFieldDelegate for ProtocolObject<T>

Implementors§