Enum minifb::MouseMode [] [src]

pub enum MouseMode {
    Pass,
    Clamp,
    Discard,
}

The diffrent modes that can be used to decide how mouse coordinates should be handled

Variants

Return mouse coords from outside of the window (may be negative)

Clamp the mouse coordinates within the window

Discared if the mouse is outside the window

Trait Implementations

impl PartialEq for MouseMode
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for MouseMode
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for MouseMode
[src]