#[repr(C)]pub enum ContextMenuMouseButton {
Right = 0,
Middle = 1,
Left = 2,
}Variants§
Trait Implementations§
Source§impl Clone for ContextMenuMouseButton
impl Clone for ContextMenuMouseButton
Source§fn clone(&self) -> ContextMenuMouseButton
fn clone(&self) -> ContextMenuMouseButton
Returns a duplicate 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 Debug for ContextMenuMouseButton
impl Debug for ContextMenuMouseButton
Source§impl Default for ContextMenuMouseButton
impl Default for ContextMenuMouseButton
Source§impl Hash for ContextMenuMouseButton
impl Hash for ContextMenuMouseButton
Source§impl Ord for ContextMenuMouseButton
impl Ord for ContextMenuMouseButton
Source§fn cmp(&self, other: &ContextMenuMouseButton) -> Ordering
fn cmp(&self, other: &ContextMenuMouseButton) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ContextMenuMouseButton
impl PartialEq for ContextMenuMouseButton
Source§impl PartialOrd for ContextMenuMouseButton
impl PartialOrd for ContextMenuMouseButton
impl Copy for ContextMenuMouseButton
impl Eq for ContextMenuMouseButton
impl StructuralPartialEq for ContextMenuMouseButton
Auto Trait Implementations§
impl Freeze for ContextMenuMouseButton
impl RefUnwindSafe for ContextMenuMouseButton
impl Send for ContextMenuMouseButton
impl Sync for ContextMenuMouseButton
impl Unpin for ContextMenuMouseButton
impl UnwindSafe for ContextMenuMouseButton
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more