pub enum PopupContextMouseButton {
Left,
Right,
Middle,
}Expand description
Single mouse button used by popup context helpers.
Variants§
Left
Open on left mouse release.
Right
Open on right mouse release.
Middle
Open on middle mouse release.
Trait Implementations§
Source§impl Clone for PopupContextMouseButton
impl Clone for PopupContextMouseButton
Source§fn clone(&self) -> PopupContextMouseButton
fn clone(&self) -> PopupContextMouseButton
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 PopupContextMouseButton
impl Debug for PopupContextMouseButton
Source§impl Default for PopupContextMouseButton
impl Default for PopupContextMouseButton
Source§fn default() -> PopupContextMouseButton
fn default() -> PopupContextMouseButton
Returns the “default value” for a type. Read more
Source§impl From<MouseButton> for PopupContextMouseButton
impl From<MouseButton> for PopupContextMouseButton
Source§fn from(button: MouseButton) -> Self
fn from(button: MouseButton) -> Self
Converts to this type from the input type.
Source§impl From<PopupContextMouseButton> for PopupContextOptions
impl From<PopupContextMouseButton> for PopupContextOptions
Source§fn from(button: PopupContextMouseButton) -> Self
fn from(button: PopupContextMouseButton) -> Self
Converts to this type from the input type.
Source§impl Hash for PopupContextMouseButton
impl Hash for PopupContextMouseButton
Source§impl PartialEq for PopupContextMouseButton
impl PartialEq for PopupContextMouseButton
Source§fn eq(&self, other: &PopupContextMouseButton) -> bool
fn eq(&self, other: &PopupContextMouseButton) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PopupContextMouseButton
impl Eq for PopupContextMouseButton
impl StructuralPartialEq for PopupContextMouseButton
Auto Trait Implementations§
impl Freeze for PopupContextMouseButton
impl RefUnwindSafe for PopupContextMouseButton
impl Send for PopupContextMouseButton
impl Sync for PopupContextMouseButton
impl Unpin for PopupContextMouseButton
impl UnsafeUnpin for PopupContextMouseButton
impl UnwindSafe for PopupContextMouseButton
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