[][src]Trait guion::event::key::Key

pub trait Key: Clone + PartialEq + Debug {
    type Origin;

    const MOUSE_LEFT: Self;
    const ENTER: Self;
    const SPACE: Self;
    const TAB: Self;

    fn origin(&self) -> Self::Origin;
}

Associated Types

type Origin

Loading content...

Associated Constants

const MOUSE_LEFT: Self

const ENTER: Self

const SPACE: Self

const TAB: Self

Loading content...

Required methods

fn origin(&self) -> Self::Origin

Loading content...

Implementors

Loading content...