pub struct Input { /* private fields */ }
Implementations
pub fn on_key_hold(
&self,
key: Qwery,
init: Duration,
int: Duration,
func: InputHookFn
) -> InputHookID
pub fn on_key_combo_hold(
&self,
combo: Vec<Qwery>,
init: Duration,
int: Duration,
func: InputHookFn
) -> InputHookID
pub fn on_mouse_hold(
&self,
button: MouseButton,
init: Duration,
int: Duration,
func: InputHookFn
) -> InputHookID
Auto Trait Implementations
impl !RefUnwindSafe for Input
impl !UnwindSafe for Input
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.