Struct nuklear::Input [−][src]
#[repr(C)]pub struct Input { /* fields omitted */ }
Methods
impl Input[src]
impl Inputpub fn mouse(&self) -> Mouse[src]
pub fn mouse(&self) -> Mousepub fn has_mouse_click(&self, b: Button) -> bool[src]
pub fn has_mouse_click(&self, b: Button) -> boolpub 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) -> boolpub 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
) -> boolpub 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) -> boolpub 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
) -> boolpub fn any_mouse_click_in_rect(&self, rect: Rect) -> bool[src]
pub fn any_mouse_click_in_rect(&self, rect: Rect) -> boolpub fn is_mouse_prev_hovering_rect(&self, rect: Rect) -> bool[src]
pub fn is_mouse_prev_hovering_rect(&self, rect: Rect) -> boolpub fn is_mouse_hovering_rect(&self, rect: Rect) -> bool[src]
pub fn is_mouse_hovering_rect(&self, rect: Rect) -> boolpub fn is_mouse_clicked(&self, b: Button, rect: Rect) -> bool[src]
pub fn is_mouse_clicked(&self, b: Button, rect: Rect) -> boolpub fn is_mouse_down(&self, b: Button) -> bool[src]
pub fn is_mouse_down(&self, b: Button) -> boolpub fn is_mouse_pressed(&self, b: Button) -> bool[src]
pub fn is_mouse_pressed(&self, b: Button) -> boolpub fn nk_input_is_mouse_released(&self, b: Button) -> bool[src]
pub fn nk_input_is_mouse_released(&self, b: Button) -> boolpub fn is_key_pressed(&self, k: Key) -> bool[src]
pub fn is_key_pressed(&self, k: Key) -> boolpub fn is_key_released(&self, k: Key) -> bool[src]
pub fn is_key_released(&self, k: Key) -> boolpub fn is_key_down(&self, k: Key) -> bool[src]
pub fn is_key_down(&self, k: Key) -> boolTrait Implementations
impl Clone for Input[src]
impl Clone for Inputfn clone(&self) -> Input[src]
fn clone(&self) -> InputReturns 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 Inputfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl AsRef<nk_input> for Input[src]
impl AsRef<nk_input> for Inputimpl AsMut<nk_input> for Input[src]
impl AsMut<nk_input> for Inputimpl AsRef<Input> for nk_input[src]
impl AsRef<Input> for nk_inputimpl AsMut<Input> for nk_input[src]
impl AsMut<Input> for nk_inputimpl Default for Input[src]
impl Default for Input