Struct bismuth::input::Mouse
[−]
[src]
pub struct Mouse { /* fields omitted */ }
Mouse (pointer) input device.
Methods
impl Mouse
[src]
fn new() -> Self
Trait Implementations
impl Default for Mouse
[src]
impl Deref for Mouse
[src]
type Target = MouseState
The resulting type after dereferencing
fn deref(&self) -> &Self::Target
The method called to dereference a value
impl InputDifference<MousePosition> for Mouse
[src]
type Difference = Option<(MousePosition, <<MousePosition as Element>::State as State>::Difference)>
Iterable representation of differences in state.
fn difference(&self) -> Self::Difference
Gets the difference in state for an input element.
impl InputDifference<MouseProximity> for Mouse
[src]
type Difference = Option<(MouseProximity, <<MouseProximity as Element>::State as State>::Difference)>
Iterable representation of differences in state.
fn difference(&self) -> Self::Difference
Gets the difference in state for an input element.
impl React for Mouse
[src]
impl Snapshot for Mouse
[src]
fn snapshot(&mut self)
Snapshots the live state.