Enum input_manager::Binding [−][src]
pub enum Binding<A, B> { Axis(A), Button(B), }
Variants
Axis(A)
Button(B)
Trait Implementations
impl<A: Hash, B: Hash> Hash for Binding<A, B>
[src]
impl<A: Hash, B: Hash> Hash for Binding<A, B>
fn hash<__HAB: Hasher>(&self, state: &mut __HAB)
[src]
fn hash<__HAB: Hasher>(&self, state: &mut __HAB)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl<A: Eq, B: Eq> Eq for Binding<A, B>
[src]
impl<A: Eq, B: Eq> Eq for Binding<A, B>
impl<A: PartialEq, B: PartialEq> PartialEq for Binding<A, B>
[src]
impl<A: PartialEq, B: PartialEq> PartialEq for Binding<A, B>
fn eq(&self, other: &Binding<A, B>) -> bool
[src]
fn eq(&self, other: &Binding<A, B>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Binding<A, B>) -> bool
[src]
fn ne(&self, other: &Binding<A, B>) -> bool
This method tests for !=
.
impl<A: Clone, B: Clone> Clone for Binding<A, B>
[src]
impl<A: Clone, B: Clone> Clone for Binding<A, B>
fn clone(&self) -> Binding<A, B>
[src]
fn clone(&self) -> Binding<A, B>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<A: Debug, B: Debug> Debug for Binding<A, B>
[src]
impl<A: Debug, B: Debug> Debug for Binding<A, B>