[][src]Enum piston_window::ButtonState

pub enum ButtonState {
    Press,
    Release,
}

Stores button state.

Variants

Button was pressed.

Button was released.

Trait Implementations

impl Serialize for ButtonState
[src]

impl<'de> Deserialize<'de> for ButtonState
[src]

impl Eq for ButtonState
[src]

impl Copy for ButtonState
[src]

impl Clone for ButtonState
[src]

Performs copy-assignment from source. Read more

impl Debug for ButtonState
[src]

impl Hash for ButtonState
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq<ButtonState> for ButtonState
[src]

This method tests for !=.

Auto Trait Implementations

impl Send for ButtonState

impl Sync for ButtonState

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> SetParameter for T
[src]

Sets value as a parameter of self.

impl<T> Erased for T
[src]