[−][src]Struct nuklear::Input
Implementations
impl Input
[src]
pub fn mouse(&self) -> Mouse
[src]
pub fn has_mouse_click(&self, b: Button) -> bool
[src]
pub fn has_mouse_click_in_rect(&self, b: Button, rect: Rect) -> bool
[src]
pub fn has_mouse_click_down_in_rect(
&self,
b: Button,
rect: Rect,
down: bool
) -> bool
[src]
&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_down_in_rect(
&self,
b: Button,
rect: Rect,
down: bool
) -> bool
[src]
&self,
b: Button,
rect: Rect,
down: bool
) -> bool
pub fn any_mouse_click_in_rect(&self, rect: Rect) -> bool
[src]
pub fn is_mouse_prev_hovering_rect(&self, rect: Rect) -> bool
[src]
pub fn is_mouse_hovering_rect(&self, rect: Rect) -> bool
[src]
pub fn is_mouse_clicked(&self, b: Button, rect: Rect) -> bool
[src]
pub fn is_mouse_down(&self, b: Button) -> bool
[src]
pub fn is_mouse_pressed(&self, b: Button) -> bool
[src]
pub fn is_mouse_released(&self, b: Button) -> bool
[src]
pub fn is_key_pressed(&self, k: Key) -> bool
[src]
pub fn is_key_released(&self, k: Key) -> bool
[src]
pub fn is_key_down(&self, k: Key) -> bool
[src]
Trait Implementations
impl AsMut<Input> for nk_input
[src]
impl AsMut<nk_input> for Input
[src]
impl AsRef<Input> for nk_input
[src]
impl AsRef<nk_input> for Input
[src]
impl Clone for Input
[src]
impl Default for Input
[src]
Auto Trait Implementations
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,