Trait Event

Source
pub trait Event:
    Clone
    + From<CommonEvent>
    + Debug {
    // Required methods
    fn as_common(&self) -> Option<CommonEvent>;
    fn as_select_shift(&self) -> Option<i32>;
    fn as_slider_shift(&self) -> Option<i32>;
    fn as_knob_rotation(&self) -> Option<i32>;
    fn as_input_letter_scroll(&self) -> Option<i32>;
}

Required Methods§

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§