pub enum Pointer {
Mouse,
Touch(TouchId),
}
Expand description
What kind of pointer (Mouse or Touch)
Variants
Mouse
We only support a single mouse
Touch(TouchId)
When there are several touches at once, you can use TouchId
to keep track of their movements.
Trait Implementations
sourceimpl PartialEq<Pointer> for Pointer
impl PartialEq<Pointer> for Pointer
impl Copy for Pointer
impl Eq for Pointer
impl StructuralEq for Pointer
impl StructuralPartialEq for Pointer
Auto Trait Implementations
impl RefUnwindSafe for Pointer
impl Send for Pointer
impl Sync for Pointer
impl Unpin for Pointer
impl UnwindSafe for Pointer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more