[][src]Struct keyfn::KeyBind

pub struct KeyBind {
    pub keycode: KeySym,
    pub mods: Vec<Mod>,
    pub trigger: Trigger,
    pub function: FunctionCall,
}

Fields

keycode: KeySymmods: Vec<Mod>trigger: Triggerfunction: FunctionCall

Methods

impl KeyBind[src]

pub fn new(
    keycode: u32,
    mods: Vec<Mod>,
    trigger: Trigger,
    function: FunctionCall
) -> Self
[src]

Trait Implementations

impl Debug for KeyBind[src]

impl Eq for KeyBind[src]

impl Hash for KeyBind[src]

impl Ord for KeyBind[src]

impl PartialEq<KeyBind> for KeyBind[src]

impl PartialOrd<KeyBind> for KeyBind[src]

impl StructuralEq for KeyBind[src]

impl StructuralPartialEq for KeyBind[src]

Auto Trait Implementations

impl RefUnwindSafe for KeyBind

impl Send for KeyBind

impl Sync for KeyBind

impl Unpin for KeyBind

impl UnwindSafe for KeyBind

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.