pub trait ActionControl<I>: Sized {
// Required methods
fn bind_action(self, binding: ActionBinding<I>) -> Self;
fn unavailable(self) -> Self;
}Expand description
A toolkit control whose committed value I can invoke an action.
Required Methods§
Sourcefn bind_action(self, binding: ActionBinding<I>) -> Self
fn bind_action(self, binding: ActionBinding<I>) -> Self
Invoke binding with the control’s committed value.
Present the control disabled: its action is not available.
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.