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
Trait Implementations§
Source§impl Clone for MouseOptions
impl Clone for MouseOptions
Source§fn clone(&self) -> MouseOptions
fn clone(&self) -> MouseOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for MouseOptions
impl PartialEq for MouseOptions
impl StructuralPartialEq for MouseOptions
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