pub struct ClickOpts {
pub button: MouseButton,
pub count: u8,
pub modifiers: Modifiers,
}Expand description
Button, count and modifiers of a CursorOp::Click.
Fields§
§count: u81 for a click, 2 for a double click, 3 for a triple click.
modifiers: ModifiersTrait Implementations§
impl Copy for ClickOpts
impl Eq for ClickOpts
impl StructuralPartialEq for ClickOpts
Auto Trait Implementations§
impl Forget for ClickOpts
impl Freeze for ClickOpts
impl Move for ClickOpts
impl RefUnwindSafe for ClickOpts
impl Send for ClickOpts
impl Sync for ClickOpts
impl Unpin for ClickOpts
impl UnsafeUnpin for ClickOpts
impl UnwindSafe for ClickOpts
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