[][src]Struct tcod_sys::TCOD_mouse_t

#[repr(C)]
pub struct TCOD_mouse_t { pub x: c_int, pub y: c_int, pub dx: c_int, pub dy: c_int, pub cx: c_int, pub cy: c_int, pub dcx: c_int, pub dcy: c_int, pub lbutton: bool_, pub rbutton: bool_, pub mbutton: bool_, pub lbutton_pressed: bool_, pub rbutton_pressed: bool_, pub mbutton_pressed: bool_, pub wheel_up: bool_, pub wheel_down: bool_, }

Fields

x: c_inty: c_intdx: c_intdy: c_intcx: c_intcy: c_intdcx: c_intdcy: c_intlbutton: bool_rbutton: bool_mbutton: bool_lbutton_pressed: bool_rbutton_pressed: bool_mbutton_pressed: bool_wheel_up: bool_wheel_down: bool_

Trait Implementations

impl Copy for TCOD_mouse_t[src]

impl Clone for TCOD_mouse_t[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for TCOD_mouse_t[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

impl<T> From<T> for 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.

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

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

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