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