Trait INSControl

Source
pub trait INSControl: INSView {
    // Provided methods
    fn p_action(&self) -> Sel { ... }
    fn p_set_action(&self, action: Sel) { ... }
}
Expand description

A trait containing all the methods for NSControl

Provided Methods§

Source

fn p_action(&self) -> Sel

The default action-message selector associated with the control.

Source

fn p_set_action(&self, action: Sel)

Sets the default action-message selector associated with the control.

§Arguments
  • action - The new action-message selector.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§