pub fn per_mode_cap(&self) -> u8 {
        if let Some(cap) = self.per_mode_cap {
            cap
        } else {
            0
        }
    }
/// Returns the per-[`InputMode`] cap on input bindings for every action
///
/// Each individual action can have at most this many bindings, making them easier to display and configure.
Returns the per-[`InputMode`] cap on input bindings for every action
Each individual action can have at most this many bindings, making them easier to display and configure.
Returns the per - [ ` InputMode ` ] cap on input bindings for every action Each individual action can have at most this many bindings making them easier to display and configure .
pub fn per_mode_cap(&self) -> u8 {
        if let Some(cap) = self.per_mode_cap {
            cap
        } else {
            0
        }
    }
pub fn per_mode_cap ( & self ) -> u8 { if let Some ( cap ) = self . per_mode_cap { cap } else { 0 } }
Returns the per-[`InputMode`] cap on input bindings for every action
Each individual action can have at most this many bindings, making them easier to display and configure.
Returns the per - [ ` InputMode ` ] cap on input bindings for every action Each individual action can have at most this many bindings making them easier to display and configure .
&self
&self