pub enum UIMouseEventButton {
None,
Left,
Right,
Middle,
Back,
Forward,
}Variants§
Implementations§
Source§impl UIMouseEventButton
impl UIMouseEventButton
pub fn try_from_raw(attr: UI_MOUSE_EVENT_BUTTON) -> Option<Self>
Trait Implementations§
Source§impl Clone for UIMouseEventButton
impl Clone for UIMouseEventButton
Source§fn clone(&self) -> UIMouseEventButton
fn clone(&self) -> UIMouseEventButton
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UIMouseEventButton
impl Debug for UIMouseEventButton
Source§impl From<UIMouseEventButton> for UI_MOUSE_EVENT_BUTTON
impl From<UIMouseEventButton> for UI_MOUSE_EVENT_BUTTON
Source§fn from(attr: UIMouseEventButton) -> Self
fn from(attr: UIMouseEventButton) -> Self
Converts to this type from the input type.
Source§impl From<u32> for UIMouseEventButton
impl From<u32> for UIMouseEventButton
Source§fn from(attr: UI_MOUSE_EVENT_BUTTON) -> Self
fn from(attr: UI_MOUSE_EVENT_BUTTON) -> Self
Converts to this type from the input type.
Source§impl PartialEq for UIMouseEventButton
impl PartialEq for UIMouseEventButton
Source§fn eq(&self, other: &UIMouseEventButton) -> bool
fn eq(&self, other: &UIMouseEventButton) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UIMouseEventButton
impl Eq for UIMouseEventButton
impl StructuralPartialEq for UIMouseEventButton
Auto Trait Implementations§
impl Freeze for UIMouseEventButton
impl RefUnwindSafe for UIMouseEventButton
impl Send for UIMouseEventButton
impl Sync for UIMouseEventButton
impl Unpin for UIMouseEventButton
impl UnsafeUnpin for UIMouseEventButton
impl UnwindSafe for UIMouseEventButton
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