Enum rebind::Translated
[−]
[src]
pub enum Translated<A: Action> { Press(A), Release(A), Move(Motion), }
A translated action.
Variants
Press(A)
A keypress event which was bound to an action
Release(A)
A key release event which was bound to an action
Move(Motion)
A translated mouse motion. The logical origin of a translated MouseCursor event is in the top left corner of the window, and the logical scroll is non-natural. Relative events are unchanged for now.
Trait Implementations
impl<A: PartialEq + Action> PartialEq for Translated<A>
[src]
fn eq(&self, __arg_0: &Translated<A>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Translated<A>) -> bool
This method tests for !=
.
impl<A: Clone + Action> Clone for Translated<A>
[src]
fn clone(&self) -> Translated<A>
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