Enum minifb::MouseMode
[−]
[src]
pub enum MouseMode { Pass, Clamp, Discard, }
Key is used by the get key functions to check if some keys on the keyboard has been pressed
Variants
Pass
Return mouse coords from outside of the window (may be negative)
Clamp
Clamp the mouse coordinates within the window
Discard
Discared if the mouse is outside the window
Trait Implementations
impl Copy for MouseMode
[src]
impl Clone for MouseMode
[src]
fn clone(&self) -> MouseMode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more