Struct nannou::ui::event::KeyRelease [−][src]
pub struct KeyRelease { pub key: Key, pub modifiers: ModifierKey, }
Contains all relevant information for the event where a keyboard button was release.
Fields
key: Key
The key that was release.
modifiers: ModifierKey
The modifier keys that were down at the time.
Trait Implementations
impl Clone for KeyRelease
[src]
impl Clone for KeyRelease
fn clone(&self) -> KeyRelease
[src]
fn clone(&self) -> KeyRelease
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for KeyRelease
[src]
impl Debug for KeyRelease
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl Copy for KeyRelease
[src]
impl Copy for KeyRelease
impl PartialEq<KeyRelease> for KeyRelease
[src]
impl PartialEq<KeyRelease> for KeyRelease
fn eq(&self, other: &KeyRelease) -> bool
[src]
fn eq(&self, other: &KeyRelease) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &KeyRelease) -> bool
[src]
fn ne(&self, other: &KeyRelease) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for KeyRelease
impl Send for KeyRelease
impl Sync for KeyRelease
impl Sync for KeyRelease