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

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

Contains all relevant information for a Release event.

Fields

button: Button

The Button that was released.

modifiers: ModifierKey

The modifier keys that were down at the time.

Methods

impl Release
[src]

fn relative_to(&self, xy: Point) -> Release

Returns a copy of the Release relative to the given xy

Trait Implementations

impl Debug for Release
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl PartialEq for Release
[src]

fn eq(&self, __arg_0: &Release) -> bool

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

fn ne(&self, __arg_0: &Release) -> bool

This method tests for !=.

impl Clone for Release
[src]

fn clone(&self) -> Release

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Copy for Release
[src]