Enum cgl_rs::window::MouseButton
source · pub enum MouseButton {
Left,
Right,
Middle,
B4,
B5,
B6,
B7,
B8,
Last,
}
Expand description
Represents a mouse button, with each variant corresponding to a specific button code.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MouseButton
impl Send for MouseButton
impl Sync for MouseButton
impl Unpin for MouseButton
impl UnwindSafe for MouseButton
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