pub struct DoubleClickEvent {
pub entity: Entity,
pub position: Vec2,
}Expand description
Emitted by lumen-primitives::press when two ClickEvents land on the same entity within the double-click window (default 300 ms).
Fields§
§entity: EntityThe entity that was double-clicked.
position: Vec2Position at time of the second click.
Trait Implementations§
Source§impl Clone for DoubleClickEvent
impl Clone for DoubleClickEvent
Source§fn clone(&self) -> DoubleClickEvent
fn clone(&self) -> DoubleClickEvent
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 DoubleClickEvent
impl Debug for DoubleClickEvent
impl Copy for DoubleClickEvent
impl Message for DoubleClickEvent
Auto Trait Implementations§
impl Freeze for DoubleClickEvent
impl RefUnwindSafe for DoubleClickEvent
impl Send for DoubleClickEvent
impl Sync for DoubleClickEvent
impl Unpin for DoubleClickEvent
impl UnsafeUnpin for DoubleClickEvent
impl UnwindSafe for DoubleClickEvent
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.