pub trait KeyboardEventMethods {
Show 15 methods // Required methods fn Key(&self) -> DOMString; fn Code(&self) -> DOMString; fn Location(&self) -> u32; fn CtrlKey(&self) -> bool; fn ShiftKey(&self) -> bool; fn AltKey(&self) -> bool; fn MetaKey(&self) -> bool; fn Repeat(&self) -> bool; fn IsComposing(&self) -> bool; fn GetModifierState(&self, keyArg: DOMString) -> bool; fn InitKeyboardEvent( &self, typeArg: DOMString, bubblesArg: bool, cancelableArg: bool, viewArg: Option<&Window>, keyArg: DOMString, locationArg: u32, modifiersListArg: DOMString, repeat: bool, locale: DOMString ); fn CharCode(&self) -> u32; fn KeyCode(&self) -> u32; fn Which(&self) -> u32; fn IsTrusted(&self) -> bool;
}

Required Methods§

source

fn Key(&self) -> DOMString

source

fn Code(&self) -> DOMString

source

fn Location(&self) -> u32

source

fn CtrlKey(&self) -> bool

source

fn ShiftKey(&self) -> bool

source

fn AltKey(&self) -> bool

source

fn MetaKey(&self) -> bool

source

fn Repeat(&self) -> bool

source

fn IsComposing(&self) -> bool

source

fn GetModifierState(&self, keyArg: DOMString) -> bool

source

fn InitKeyboardEvent( &self, typeArg: DOMString, bubblesArg: bool, cancelableArg: bool, viewArg: Option<&Window>, keyArg: DOMString, locationArg: u32, modifiersListArg: DOMString, repeat: bool, locale: DOMString )

source

fn CharCode(&self) -> u32

source

fn KeyCode(&self) -> u32

source

fn Which(&self) -> u32

source

fn IsTrusted(&self) -> bool

Implementors§