pub struct MouseBits { /* private fields */ }
Implementations§
source§impl MouseBits
impl MouseBits
pub fn new( left: bool, middle: bool, right: bool, internal_scroll_h: u6, internal_scroll_v: u6 ) -> Self
pub fn left(&self) -> bool
pub fn set_left(&mut self, value: bool)
pub fn middle(&self) -> bool
pub fn set_middle(&mut self, value: bool)
pub fn right(&self) -> bool
pub fn set_right(&mut self, value: bool)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MouseBits
impl Send for MouseBits
impl Sync for MouseBits
impl Unpin for MouseBits
impl UnwindSafe for MouseBits
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more