pub struct PointerPressed {
pub position: Vec2,
pub button: PointerButton,
}Expand description
Pointer button pressed.
Fields§
§position: Vec2Position at time of press.
Which button.
Trait Implementations§
Source§impl Clone for PointerPressed
impl Clone for PointerPressed
Source§fn clone(&self) -> PointerPressed
fn clone(&self) -> PointerPressed
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 PointerPressed
impl Debug for PointerPressed
impl Copy for PointerPressed
impl Message for PointerPressed
Auto Trait Implementations§
impl Freeze for PointerPressed
impl RefUnwindSafe for PointerPressed
impl Send for PointerPressed
impl Sync for PointerPressed
impl Unpin for PointerPressed
impl UnsafeUnpin for PointerPressed
impl UnwindSafe for PointerPressed
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.