Enum input::HatState [−][src]
pub enum HatState { Centered, Up, Right, Down, Left, RightUp, RightDown, LeftUp, LeftDown, }
Stores controller hat state.
Variants
Centered (no direction).
Up direction.
Right direction.
Down direction.
Left direction.
Right-up direction.
Right-down direction.
Left-up direction.
Left-down direction.
Trait Implementations
impl Clone for HatState
[src][+]
impl Copy for HatState
[src]
impl Debug for HatState
[src][+]
impl<'de> Deserialize<'de> for HatState
[src][+]
impl Eq for HatState
[src]
impl Hash for HatState
[src][+]
impl Ord for HatState
[src][+]
impl PartialEq<HatState> for HatState
[src][+]
impl PartialOrd<HatState> for HatState
[src][+]
impl Serialize for HatState
[src][+]
impl StructuralEq for HatState
[src]
impl StructuralPartialEq for HatState
[src]
Auto Trait Implementations
impl RefUnwindSafe for HatState
impl Send for HatState
impl Sync for HatState
impl Unpin for HatState
impl UnwindSafe for HatState
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,