Struct termbox::MouseEvent [] [src]

pub struct MouseEvent {
    pub button: MouseButton,
    pub x: Coord,
    pub y: Coord,
}

Mouse events are disabled by default. Use Termbox::set_mouse_enabled to enable them.

Fields

Trait Implementations

impl Clone for MouseEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MouseEvent
[src]

impl Debug for MouseEvent
[src]

Formats the value using the given formatter.