Struct conrod::event::Release [] [src]

pub struct Release {
    pub button: Button,
    pub modifiers: ModifierKey,
}

Contains all relevant information for a Release event.

Fields

The Button that was released.

The modifier keys that were down at the time.

Methods

impl Release
[src]

[src]

Returns a copy of the Release relative to the given xy

[src]

If the Release event represents the releasing of a mouse button, return Some.

[src]

If the Release event represents the release of keyboard button, return Some.

Trait Implementations

impl Copy for Release
[src]

impl Clone for Release
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Release
[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 Debug for Release
[src]

[src]

Formats the value using the given formatter.