Enum egui::PointerButton [−][src]
pub enum PointerButton {
Primary,
Secondary,
Middle,
}
Expand description
Mouse button (or similar for touch input)
Variants
Primary
The primary mouse button is usually the left one.
Secondary
The secondary mouse button is usually the right one, and most often used for context menus or other optional things.
Middle
The tertiary mouse button is usually the middle mouse button (e.g. clicking the scroll wheel).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PointerButton
impl Send for PointerButton
impl Sync for PointerButton
impl Unpin for PointerButton
impl UnwindSafe for PointerButton
Blanket Implementations
Mutably borrows from an owned value. Read more