pub enum ButtonPhase {
Press,
Move,
Release,
}Expand description
Which part of a held non-primary button an event reports.
Variants§
Trait Implementations§
Source§impl Clone for ButtonPhase
impl Clone for ButtonPhase
impl Copy for ButtonPhase
Source§impl Debug for ButtonPhase
impl Debug for ButtonPhase
impl Eq for ButtonPhase
Source§impl PartialEq for ButtonPhase
impl PartialEq for ButtonPhase
impl StructuralPartialEq for ButtonPhase
Auto Trait Implementations§
impl Freeze for ButtonPhase
impl RefUnwindSafe for ButtonPhase
impl Send for ButtonPhase
impl Sync for ButtonPhase
impl Unpin for ButtonPhase
impl UnsafeUnpin for ButtonPhase
impl UnwindSafe for ButtonPhase
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.