Skip to main content

NSSearchFieldDelegate

Trait NSSearchFieldDelegate 

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

Provided Methods§

Source

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

Available on crate features NSResponder and NSView only.
Source

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

Available on crate features NSResponder and NSView only.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSSearchFieldDelegate

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> NSSearchFieldDelegate for ProtocolObject<T>

Implementors§