Skip to main content

MenuBaseProps

Trait MenuBaseProps 

Source
pub trait MenuBaseProps: ElementBuilder {
    // Provided methods
    fn on_opened(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self { ... }
    fn on_closed(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self { ... }
}
Expand description

The properties and routed events of MenuBase.

Provided Methods§

Source

fn on_opened(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self

Source

fn on_closed(self, handler: impl Fn(&RoutedEventArgs) + 'static) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§