pub fn insert_chord(
        &mut self,
        action: A,
        buttons: impl IntoIterator<Item = impl Into<InputButton>>,
    ) -> &mut Self {
        self.insert(action, UserInput::chord(buttons));
        self
    }
/// Insert a mapping between `action` and the simultaneous combination of `buttons` provided
///
/// Any iterator that can be converted into a [`Button`] can be supplied, but will be converted into a [`PetitSet`] for storage and use.
/// Chords can also be added with the [insert](Self::insert) method, if the [`UserInput::Chord`] variant is constructed explicitly.
///
/// Existing mappings for that action will not be overwritten.


Existing mappings for that action will not be overwritten.
Existing mappings for that action will not be overwritten .
pub fn insert_chord(
        &mut self,
        action: A,
        buttons: impl IntoIterator<Item = impl Into<InputButton>>,
    ) -> &mut Self {
        self.insert(action, UserInput::chord(buttons));
        self
    }
pub fn insert_chord ( & mut self , action : A , buttons : impl IntoIterator < Item = impl Into < InputButton > > , ) -> & mut Self { self . insert ( action , UserInput :: chord ( buttons ) ) ; self }
Insert a mapping between `action` and the simultaneous combination of `buttons` provided
Any iterator that can be converted into a [`Button`] can be supplied, but will be converted into a [`PetitSet`] for storage and use.
Insert a mapping between ` action ` and the simultaneous combination of ` buttons ` provided Any iterator that can be converted into a [ ` Button ` ] can be supplied but will be converted into a [ ` PetitSet ` ] for storage and use .
&mut self
action
A
buttons
impl IntoIterator<Item = impl Into<InputButton>>
&mut self
action
A
buttons
impl IntoIterator<Item = impl Into<InputButton>>