Struct dioxus_html::events::PointerData
source · pub struct PointerData {Show 22 fields
pub alt_key: bool,
pub button: i16,
pub buttons: u16,
pub client_x: i32,
pub client_y: i32,
pub ctrl_key: bool,
pub meta_key: bool,
pub page_x: i32,
pub page_y: i32,
pub screen_x: i32,
pub screen_y: i32,
pub shift_key: bool,
pub pointer_id: i32,
pub width: i32,
pub height: i32,
pub pressure: f32,
pub tangential_pressure: f32,
pub tilt_x: i32,
pub tilt_y: i32,
pub twist: i32,
pub pointer_type: String,
pub is_primary: bool,
}
Fields§
§alt_key: bool
§client_x: i32
§client_y: i32
§ctrl_key: bool
§meta_key: bool
§page_x: i32
§page_y: i32
§screen_x: i32
§screen_y: i32
§shift_key: bool
§pointer_id: i32
§width: i32
§height: i32
§pressure: f32
§tangential_pressure: f32
§tilt_x: i32
§tilt_y: i32
§twist: i32
§pointer_type: String
§is_primary: bool
Trait Implementations§
source§impl Clone for PointerData
impl Clone for PointerData
source§fn clone(&self) -> PointerData
fn clone(&self) -> PointerData
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 PointerData
impl Debug for PointerData
source§impl<'de> Deserialize<'de> for PointerData
impl<'de> Deserialize<'de> for PointerData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<&Event> for PointerData
impl From<&Event> for PointerData
source§impl From<&PointerEvent> for PointerData
impl From<&PointerEvent> for PointerData
source§fn from(e: &PointerEvent) -> Self
fn from(e: &PointerEvent) -> Self
Converts to this type from the input type.
source§impl From<Event> for PointerData
impl From<Event> for PointerData
source§impl PartialEq<PointerData> for PointerData
impl PartialEq<PointerData> for PointerData
source§fn eq(&self, other: &PointerData) -> bool
fn eq(&self, other: &PointerData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PointerData
impl Serialize for PointerData
impl StructuralPartialEq for PointerData
Auto Trait Implementations§
impl RefUnwindSafe for PointerData
impl Send for PointerData
impl Sync for PointerData
impl Unpin for PointerData
impl UnwindSafe for PointerData
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