Struct nuklear_rust::NkInput
[−]
[src]
pub struct NkInput { /* fields omitted */ }
Methods
impl NkInput
[src]
fn mouse(&self) -> NkMouse
fn has_mouse_click(&self, b: NkButton) -> bool
fn has_mouse_click_in_rect(&self, b: NkButton, rect: NkRect) -> bool
fn has_mouse_click_down_in_rect(&self,
b: NkButton,
rect: NkRect,
down: bool)
-> bool
b: NkButton,
rect: NkRect,
down: bool)
-> bool
fn is_mouse_click_in_rect(&self, b: NkButton, rect: NkRect) -> bool
fn is_mouse_click_down_in_rect(&self,
b: NkButton,
rect: NkRect,
down: bool)
-> bool
b: NkButton,
rect: NkRect,
down: bool)
-> bool
fn any_mouse_click_in_rect(&self, rect: NkRect) -> bool
fn is_mouse_prev_hovering_rect(&self, rect: NkRect) -> bool
fn is_mouse_hovering_rect(&self, rect: NkRect) -> bool
fn is_mouse_clicked(&self, b: NkButton, rect: NkRect) -> bool
fn is_mouse_down(&self, b: NkButton) -> bool
fn is_mouse_pressed(&self, b: NkButton) -> bool
fn nk_input_is_mouse_released(&self, b: NkButton) -> bool
fn is_key_pressed(&self, k: NkKey) -> bool
fn is_key_released(&self, k: NkKey) -> bool
fn is_key_down(&self, k: NkKey) -> bool
Trait Implementations
impl Debug for NkInput
[src]
impl Clone for NkInput
[src]
fn clone(&self) -> NkInput
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for NkInput
[src]
fn eq(&self, __arg_0: &NkInput) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NkInput) -> bool
This method tests for !=
.