Struct nuklear_rust::NkInput
[−]
[src]
#[repr(C)]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
&self,
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
&self,
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 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