[][src]Struct rask_engine::events::MouseEvent

#[repr(C)]pub struct MouseEvent {
    pub modifier: KeyModifier,
    pub x: i32,
    pub y: i32,
    // some fields omitted
}

Fields

modifier: KeyModifierx: i32y: i32

Implementations

impl MouseEvent[src]

pub fn left_mb(&self) -> bool[src]

pub fn right_mb(&self) -> bool[src]

pub fn middle_mb(&self) -> bool[src]

Trait Implementations

impl Clone for MouseEvent[src]

impl Copy for MouseEvent[src]

impl Debug for MouseEvent[src]

Auto Trait Implementations

impl RefUnwindSafe for MouseEvent

impl Send for MouseEvent

impl Sync for MouseEvent

impl Unpin for MouseEvent

impl UnwindSafe for MouseEvent

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<S, T> Collide<[T]> for S where
    T: Collide<S>, 
[src]

impl<T> Event for T where
    T: Send + Sync + 'static, 

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Resource for T where
    T: Any + Send + Sync

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

type Owned = T

The resulting type after obtaining ownership.

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.