pub trait ButtonImpl: ContentControlImpl + Upcast<Button> {
// Provided methods
fn on_click(this: &Self) { ... }
fn open_flyout(this: &Self) { ... }
fn close_flyout(this: &Self) { ... }
fn on_flyout_opened(this: &Self) { ... }
fn on_flyout_closed(this: &Self) { ... }
}Expand description
The overridable members introduced by the class.
Provided Methods§
Sourcefn open_flyout(this: &Self)
fn open_flyout(this: &Self)
Opens the button’s flyout.
Sourcefn close_flyout(this: &Self)
fn close_flyout(this: &Self)
Closes the button’s flyout.
Sourcefn on_flyout_opened(this: &Self)
fn on_flyout_opened(this: &Self)
Invoked when the button’s flyout is opened.
Sourcefn on_flyout_closed(this: &Self)
fn on_flyout_closed(this: &Self)
Invoked when the button’s flyout is closed.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".