pub enum PointerUpdateKind {
LeftButtonPressed,
MiddleButtonPressed,
RightButtonPressed,
XButton1Pressed,
XButton2Pressed,
LeftButtonReleased,
MiddleButtonReleased,
RightButtonReleased,
XButton1Released,
XButton2Released,
Other,
}Expand description
The kind of state change of a pointer.
Variants§
LeftButtonPressed
MiddleButtonPressed
RightButtonPressed
XButton1Pressed
XButton2Pressed
LeftButtonReleased
MiddleButtonReleased
RightButtonReleased
XButton1Released
XButton2Released
Other
Implementations§
Source§impl PointerUpdateKind
impl PointerUpdateKind
The mouse button whose state the update changed.
Trait Implementations§
Source§impl Clone for PointerUpdateKind
impl Clone for PointerUpdateKind
impl Copy for PointerUpdateKind
Source§impl Debug for PointerUpdateKind
impl Debug for PointerUpdateKind
Source§impl Default for PointerUpdateKind
impl Default for PointerUpdateKind
impl Eq for PointerUpdateKind
Source§impl Hash for PointerUpdateKind
impl Hash for PointerUpdateKind
Source§impl MarkupTyped for PointerUpdateKind
impl MarkupTyped for PointerUpdateKind
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for PointerUpdateKind
impl PartialEq for PointerUpdateKind
impl StructuralPartialEq for PointerUpdateKind
Auto Trait Implementations§
impl Freeze for PointerUpdateKind
impl RefUnwindSafe for PointerUpdateKind
impl Send for PointerUpdateKind
impl Sync for PointerUpdateKind
impl Unpin for PointerUpdateKind
impl UnsafeUnpin for PointerUpdateKind
impl UnwindSafe for PointerUpdateKind
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more