Trait NSSearchFieldDelegate

Source
pub unsafe trait NSSearchFieldDelegate: NSTextFieldDelegate + MainThreadOnly {
    // 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.
Expand description

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. Read more
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§