Struct nuklear::Input [−][src]
#[repr(C)]pub struct Input { /* fields omitted */ }
Methods
impl Input
[src]
impl Input
pub fn mouse(&self) -> Mouse
[src]
pub fn mouse(&self) -> Mouse
pub fn has_mouse_click(&self, b: Button) -> bool
[src]
pub fn has_mouse_click(&self, b: Button) -> bool
pub fn has_mouse_click_in_rect(&self, b: Button, rect: Rect) -> bool
[src]
pub fn has_mouse_click_in_rect(&self, b: Button, rect: Rect) -> bool
pub fn has_mouse_click_down_in_rect(
&self,
b: Button,
rect: Rect,
down: bool
) -> bool
[src]
pub fn has_mouse_click_down_in_rect(
&self,
b: Button,
rect: Rect,
down: bool
) -> bool
pub fn is_mouse_click_in_rect(&self, b: Button, rect: Rect) -> bool
[src]
pub fn is_mouse_click_in_rect(&self, b: Button, rect: Rect) -> bool
pub fn is_mouse_click_down_in_rect(
&self,
b: Button,
rect: Rect,
down: bool
) -> bool
[src]
pub fn is_mouse_click_down_in_rect(
&self,
b: Button,
rect: Rect,
down: bool
) -> bool
pub fn any_mouse_click_in_rect(&self, rect: Rect) -> bool
[src]
pub fn any_mouse_click_in_rect(&self, rect: Rect) -> bool
pub fn is_mouse_prev_hovering_rect(&self, rect: Rect) -> bool
[src]
pub fn is_mouse_prev_hovering_rect(&self, rect: Rect) -> bool
pub fn is_mouse_hovering_rect(&self, rect: Rect) -> bool
[src]
pub fn is_mouse_hovering_rect(&self, rect: Rect) -> bool
pub fn is_mouse_clicked(&self, b: Button, rect: Rect) -> bool
[src]
pub fn is_mouse_clicked(&self, b: Button, rect: Rect) -> bool
pub fn is_mouse_down(&self, b: Button) -> bool
[src]
pub fn is_mouse_down(&self, b: Button) -> bool
pub fn is_mouse_pressed(&self, b: Button) -> bool
[src]
pub fn is_mouse_pressed(&self, b: Button) -> bool
pub fn nk_input_is_mouse_released(&self, b: Button) -> bool
[src]
pub fn nk_input_is_mouse_released(&self, b: Button) -> bool
pub fn is_key_pressed(&self, k: Key) -> bool
[src]
pub fn is_key_pressed(&self, k: Key) -> bool
pub fn is_key_released(&self, k: Key) -> bool
[src]
pub fn is_key_released(&self, k: Key) -> bool
pub fn is_key_down(&self, k: Key) -> bool
[src]
pub fn is_key_down(&self, k: Key) -> bool
Trait Implementations
impl Clone for Input
[src]
impl Clone for Input
fn clone(&self) -> Input
[src]
fn clone(&self) -> Input
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Input
[src]
impl Debug for Input
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl AsRef<nk_input> for Input
[src]
impl AsRef<nk_input> for Input
impl AsMut<nk_input> for Input
[src]
impl AsMut<nk_input> for Input
impl AsRef<Input> for nk_input
[src]
impl AsRef<Input> for nk_input
impl AsMut<Input> for nk_input
[src]
impl AsMut<Input> for nk_input
impl Default for Input
[src]
impl Default for Input