Skip to main content

KeyBindingProps

Trait KeyBindingProps 

Source
pub trait KeyBindingProps: ElementBuilder {
    // Provided methods
    fn command<M>(
        self,
        value: impl IntoProp<Option<Rc<dyn ICommand>>, M>,
    ) -> Self { ... }
    fn command_parameter<M>(
        self,
        value: impl IntoProp<Option<BoxedValue>, M>,
    ) -> Self { ... }
    fn gesture<M>(self, value: impl IntoProp<Option<KeyGesture>, M>) -> Self { ... }
}
Expand description

The properties and routed events of KeyBinding.

Provided Methods§

Source

fn command<M>(self, value: impl IntoProp<Option<Rc<dyn ICommand>>, M>) -> Self

Source

fn command_parameter<M>( self, value: impl IntoProp<Option<BoxedValue>, M>, ) -> Self

Source

fn gesture<M>(self, value: impl IntoProp<Option<KeyGesture>, M>) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§