Enum rebind::Translated [] [src]

pub enum Translated<A: Action> {
    Press(A),
    Release(A),
    Move(Motion),
}

A translated action.

Variants

A keypress event which was bound to an action

A key release event which was bound to an action

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: Debug + Action> Debug for Translated<A>
[src]

Formats the value using the given formatter.

impl<A: Copy + Action> Copy for Translated<A>
[src]

impl<A: Clone + Action> Clone for Translated<A>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<A: PartialEq + Action> PartialEq for Translated<A>
[src]

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

This method tests for !=.