Enum wasm4_sx::MouseButton
source · pub enum MouseButton {
Left,
Right,
Middle,
}
Expand description
Mouse button.
Variants§
Trait Implementations§
source§impl Clone for MouseButton
impl Clone for MouseButton
source§fn clone(&self) -> MouseButton
fn clone(&self) -> MouseButton
Returns a copy 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 From<MouseButton> for u8
impl From<MouseButton> for u8
source§fn from(value: MouseButton) -> Self
fn from(value: MouseButton) -> Self
Converts to this type from the input type.
source§impl From<u8> for MouseButton
impl From<u8> for MouseButton
impl Copy for MouseButton
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