Enum three::Button [] [src]

pub enum Button {
    Key(Key),
    Mouse(MouseButton),
}

Keyboard or mouse button.

Variants

Keyboard button.

Mouse button.

Trait Implementations

impl Clone for Button
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Button
[src]

impl Debug for Button
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for Button
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Hit for Button
[src]

[src]

See Input::hit.

impl HitCount for Button
[src]

Output type.

[src]

See Input::hit_count.

Auto Trait Implementations

impl Send for Button

impl Sync for Button