Enum rinwindow::events::MouseEvent[][src]

pub enum MouseEvent {
    Pressed {
        pos: Pnt2<f64>,
        button: MouseButton,
        mods: KeyModifiers,
    },
    Released {
        pos: Pnt2<f64>,
        button: MouseButton,
        mods: KeyModifiers,
    },
    Moved {
        pos: Pnt2<f64>,
    },
    Scrolled {
        scroll: Vec2<f64>,
    },
}

Variants

Fields of Pressed

Fields of Released

Fields of Moved

Fields of Scrolled

Trait Implementations

impl Clone for MouseEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MouseEvent
[src]

Formats the value using the given formatter. Read more

impl Copy for MouseEvent
[src]

impl PartialEq for MouseEvent
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for MouseEvent

impl Sync for MouseEvent