smart_keymap::key::composite

Trait ChordedNestable

Source
pub trait ChordedNestable:
    Key<Context = Context, Event = Event, PressedKey = LayeredPressedKey<TapHoldKey<BaseKey>>>
    + Copy
    + PartialEq {
    // Required method
    fn as_fat_key(self) -> LayeredKey<TapHoldKey<BaseKey>>;
}
Expand description

Trait for types which can be nested in ChordedKey variants.

Required Methods§

Source

fn as_fat_key(self) -> LayeredKey<TapHoldKey<BaseKey>>

Construct a ‘full representation’ of the nestable key.

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§