pub struct MouseOptions { /* private fields */ }Implementations§
Source§impl MouseOptions
impl MouseOptions
pub fn new(options: u8) -> Self
pub fn left_click(&self) -> bool
pub fn left_click_mut(&mut self) -> &mut bool
pub fn right_click(&self) -> bool
pub fn right_click_mut(&mut self) -> &mut bool
pub fn middle_click(&self) -> bool
pub fn middle_click_mut(&mut self) -> &mut bool
pub fn mouse_type(&self) -> &MouseType
pub fn mouse_type_mut(&mut self) -> &mut MouseType
Auto Trait Implementations§
impl Freeze for MouseOptions
impl RefUnwindSafe for MouseOptions
impl Send for MouseOptions
impl Sync for MouseOptions
impl Unpin for MouseOptions
impl UnwindSafe for MouseOptions
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