[][src]Struct alacritty::event::Mouse

pub struct Mouse {
    pub x: usize,
    pub y: usize,
    pub left_button_state: ElementState,
    pub middle_button_state: ElementState,
    pub right_button_state: ElementState,
    pub last_click_timestamp: Instant,
    pub last_click_button: MouseButton,
    pub click_state: ClickState,
    pub scroll_px: f64,
    pub line: Line,
    pub column: Column,
    pub cell_side: Side,
    pub lines_scrolled: f32,
    pub block_url_launcher: bool,
    pub inside_text_area: bool,
}

State of the mouse.

Fields

x: usizey: usizeleft_button_state: ElementStatemiddle_button_state: ElementStateright_button_state: ElementStatelast_click_timestamp: Instantlast_click_button: MouseButtonclick_state: ClickStatescroll_px: f64line: Linecolumn: Columncell_side: Sidelines_scrolled: f32block_url_launcher: boolinside_text_area: bool

Trait Implementations

impl Debug for Mouse[src]

impl Default for Mouse[src]

Auto Trait Implementations

impl RefUnwindSafe for Mouse

impl Send for Mouse

impl Sync for Mouse

impl Unpin for Mouse

impl UnwindSafe for Mouse

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<T> From<T> for T[src]

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

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.