#[repr(C)]pub struct EmscriptenTouchEvent {
pub timestamp: f64,
pub numTouches: c_int,
pub ctrlKey: bool,
pub shiftKey: bool,
pub altKey: bool,
pub metaKey: bool,
pub touches: [EmscriptenTouchPoint; 32],
}
Fields§
§timestamp: f64
§numTouches: c_int
§ctrlKey: bool
§shiftKey: bool
§altKey: bool
§metaKey: bool
§touches: [EmscriptenTouchPoint; 32]
Trait Implementations§
Source§impl Clone for EmscriptenTouchEvent
impl Clone for EmscriptenTouchEvent
Source§fn clone(&self) -> EmscriptenTouchEvent
fn clone(&self) -> EmscriptenTouchEvent
Returns a copy 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 Debug for EmscriptenTouchEvent
impl Debug for EmscriptenTouchEvent
impl Copy for EmscriptenTouchEvent
Auto Trait Implementations§
impl Freeze for EmscriptenTouchEvent
impl RefUnwindSafe for EmscriptenTouchEvent
impl Send for EmscriptenTouchEvent
impl Sync for EmscriptenTouchEvent
impl Unpin for EmscriptenTouchEvent
impl UnwindSafe for EmscriptenTouchEvent
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