Enum rin_window::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

Pressed
Show fields

Fields of Pressed

pos: Pnt2<f64>button: MouseButtonmods: KeyModifiers
Released
Show fields

Fields of Released

pos: Pnt2<f64>button: MouseButtonmods: KeyModifiers
Moved
Show fields

Fields of Moved

pos: Pnt2<f64>
Scrolled
Show fields

Fields of Scrolled

scroll: Vec2<f64>

Implementations

impl MouseEvent[src]

Trait Implementations

impl Clone for MouseEvent[src]

impl Debug for MouseEvent[src]

impl PartialEq<MouseEvent> for MouseEvent[src]

impl Copy for MouseEvent[src]

impl StructuralPartialEq 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
[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> IntoPnt<Point<T, U2>> for T where
    T: Scalar
[src]

impl<T> IntoPnt<Point<T, U3>> for T where
    T: Scalar
[src]

impl<T> IntoPnt<Point<T, U4>> for T where
    T: Scalar
[src]

impl<V> IntoPnt<V> for V[src]

impl<V> IntoVec<V> for V[src]

impl<T> JoinPnt<T, Point<T, U2>> for T where
    T: Scalar
[src]

type Output = Point<T, U3>

impl<T> JoinPnt<T, Point<T, U3>> for T where
    T: Scalar
[src]

type Output = Point<T, U4>

impl<T> JoinPnt<T, T> for T where
    T: Scalar
[src]

type Output = Point<T, U2>

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Debug + Any
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]