Struct conrod::input::widget::Mouse [] [src]

pub struct Mouse<'a> {
    pub buttons: &'a ButtonMap,
    // some fields omitted
}

A view of the input::state::Mouse that is specific to a single widget.

Fields

The state of each MouseButton.

Methods

impl<'a> Mouse<'a>
[src]

The absolute position of the mouse within the window.

The position of the mouse relative to the middle of the widget's Rect.

Is the mouse currently over the widget.

Trait Implementations

impl<'a> Copy for Mouse<'a>
[src]

impl<'a> Clone for Mouse<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for Mouse<'a>
[src]

Formats the value using the given formatter.