pub fn action_bindings<A>(&self, id: &A) -> impl Iterator<Item = &[Button]>
    where
        T::Action: Borrow<A>,
        A: Hash + Eq + ?Sized,
    {
        self.actions
            .get(id)
            .map(SmallVec::as_slice)
            .unwrap_or(&[])
            .iter()
            .map(SmallVec::as_slice)
    }
/// Returns an action's bindings.
Returns an action's bindings.
Returns an action ' s bindings .
pub fn action_bindings<A>(&self, id: &A) -> impl Iterator<Item = &[Button]>
    where
        T::Action: Borrow<A>,
        A: Hash + Eq + ?Sized,
    {
        self.actions
            .get(id)
            .map(SmallVec::as_slice)
            .unwrap_or(&[])
            .iter()
            .map(SmallVec::as_slice)
    }
pub fn action_bindings < A > ( & self , id : & A ) -> impl Iterator < Item = & [ Button ] > where T :: Action : Borrow < A > , A : Hash + Eq + ? Sized , { self . actions . get ( id ) . map ( SmallVec :: as_slice ) . unwrap_or ( & [ ] ) . iter ( ) . map ( SmallVec :: as_slice ) }
Returns an action's bindings.
Returns an action ' s bindings .
&self
id
&A