pub struct BindingConflict {
pub code: InputCode,
pub first: ConfigBinding,
pub second: ConfigBinding,
}Expand description
Two nonzero-scale bindings using the same source in currently active contexts.
This includes duplicate bindings within one action. Different scales and
deadzones still share a source; intentional sharing can use the permissive
ActionMap::apply_config. See ActionMap::validate_config for an example.
Fields§
§code: InputCode§first: ConfigBinding§second: ConfigBindingTrait Implementations§
Source§impl Clone for BindingConflict
impl Clone for BindingConflict
Source§fn clone(&self) -> BindingConflict
fn clone(&self) -> BindingConflict
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BindingConflict
impl Debug for BindingConflict
Source§impl PartialEq for BindingConflict
impl PartialEq for BindingConflict
impl Eq for BindingConflict
impl StructuralPartialEq for BindingConflict
Auto Trait Implementations§
impl Freeze for BindingConflict
impl RefUnwindSafe for BindingConflict
impl Send for BindingConflict
impl Sync for BindingConflict
impl Unpin for BindingConflict
impl UnwindSafe for BindingConflict
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more