Enum rin::window::MouseEvent[][src]

pub enum MouseEvent {
    Pressed {
        pos: Point<f64, U2>,
        button: MouseButton,
        mods: KeyModifiers,
    },
    Released {
        pos: Point<f64, U2>,
        button: MouseButton,
        mods: KeyModifiers,
    },
    Moved {
        pos: Point<f64, U2>,
    },
    Scrolled {
        scroll: Matrix<f64, U2, U1, <DefaultAllocator as Allocator<f64, U2, U1>>::Buffer>,
    },
}

Variants

Pressed
Show fields

Fields of Pressed

pos: Point<f64, U2>button: MouseButtonmods: KeyModifiers
Released
Show fields

Fields of Released

pos: Point<f64, U2>button: MouseButtonmods: KeyModifiers
Moved
Show fields

Fields of Moved

pos: Point<f64, U2>
Scrolled
Show fields

Fields of Scrolled

scroll: Matrix<f64, U2, U1, <DefaultAllocator as Allocator<f64, U2, U1>>::Buffer>

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[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]

impl<T> Slottable for T where
    T: Copy
[src]