[]Enum meli::terminal::MouseEvent

pub enum MouseEvent {
    Press(MouseButtonu16u16),
    Release(u16u16),
    Hold(u16u16),
}

A mouse related event.

Variants

Press(MouseButtonu16u16)

A mouse button was pressed.

The coordinates are one-based.

Release(u16u16)

A mouse button was released.

The coordinates are one-based.

Hold(u16u16)

A mouse button is held over the given coordinates.

The coordinates are one-based.

Trait Implementations

impl Clone for MouseEvent

impl Copy for MouseEvent

impl Debug for MouseEvent

impl Eq for MouseEvent

impl Hash for MouseEvent

impl PartialEq<MouseEvent> for MouseEvent

impl StructuralEq for MouseEvent

impl StructuralPartialEq for MouseEvent

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> Borrow<T> for T where
    T: ?Sized
[src]

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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>, 

impl<T> WithSubscriber for T[src]