[][src]Struct ngen::input::Mouse

pub struct Mouse {
    pub left_button: Button,
    pub right_button: Button,
    pub screen_pos: Vec2,
    pub prev_screen_pos: Vec2,
}

Fields

left_button: Buttonright_button: Buttonscreen_pos: Vec2prev_screen_pos: Vec2

Trait Implementations

impl Default for Mouse[src]

Auto Trait Implementations

impl RefUnwindSafe for Mouse

impl Send for Mouse

impl Sync for Mouse

impl Unpin for Mouse

impl UnwindSafe for Mouse

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.