pub struct ContextMenuTouchLongPressState {
pub pointer_id: Option<PointerId>,
pub origin: Option<Point>,
pub timer: Option<TimerToken>,
}Fields§
§pointer_id: Option<PointerId>§origin: Option<Point>§timer: Option<TimerToken>Trait Implementations§
Source§impl Clone for ContextMenuTouchLongPressState
impl Clone for ContextMenuTouchLongPressState
Source§fn clone(&self) -> ContextMenuTouchLongPressState
fn clone(&self) -> ContextMenuTouchLongPressState
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 Default for ContextMenuTouchLongPressState
impl Default for ContextMenuTouchLongPressState
Source§fn default() -> ContextMenuTouchLongPressState
fn default() -> ContextMenuTouchLongPressState
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContextMenuTouchLongPressState
impl PartialEq for ContextMenuTouchLongPressState
Source§fn eq(&self, other: &ContextMenuTouchLongPressState) -> bool
fn eq(&self, other: &ContextMenuTouchLongPressState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ContextMenuTouchLongPressState
impl StructuralPartialEq for ContextMenuTouchLongPressState
Auto Trait Implementations§
impl Freeze for ContextMenuTouchLongPressState
impl RefUnwindSafe for ContextMenuTouchLongPressState
impl Send for ContextMenuTouchLongPressState
impl Sync for ContextMenuTouchLongPressState
impl Unpin for ContextMenuTouchLongPressState
impl UnsafeUnpin for ContextMenuTouchLongPressState
impl UnwindSafe for ContextMenuTouchLongPressState
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