Struct nannou::ui::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]

Returns a copy of the Release relative to the given xy

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

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

Trait Implementations

impl Clone for Release
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Release
[src]

Formats the value using the given formatter. Read more

impl From<Release> for Widget
[src]

Performs the conversion.

impl Copy for Release
[src]

impl PartialEq<Release> for Release
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for Release

impl Sync for Release