Trait klib::core::chord::HasModifiers

source ·
pub trait HasModifiers {
    // Required method
    fn modifiers(&self) -> &HashSet<Modifier>;
}
Expand description

A trait that represents a type that has modifiers.

Required Methods§

source

fn modifiers(&self) -> &HashSet<Modifier>

Returns the modifiers of the implementor (most likely a Chord).

Implementors§