pub struct LongPressEvent {
pub entity: Entity,
}Expand description
Emitted by lumen-primitives::press when an entity has carried Pressed continuously past the configured long-press threshold (default 500 ms).
Fields§
§entity: EntityThe entity that was held.
Trait Implementations§
Source§impl Clone for LongPressEvent
impl Clone for LongPressEvent
Source§fn clone(&self) -> LongPressEvent
fn clone(&self) -> LongPressEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LongPressEvent
impl Debug for LongPressEvent
impl Copy for LongPressEvent
impl Message for LongPressEvent
Auto Trait Implementations§
impl Freeze for LongPressEvent
impl RefUnwindSafe for LongPressEvent
impl Send for LongPressEvent
impl Sync for LongPressEvent
impl Unpin for LongPressEvent
impl UnsafeUnpin for LongPressEvent
impl UnwindSafe for LongPressEvent
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,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.