Struct patternfly_dioxus::dioxus_elements::on::MouseData
[−]pub struct MouseData {
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,
}Fields
alt_key: boolclient_x: i32client_y: i32ctrl_key: boolmeta_key: boolpage_x: i32page_y: i32screen_x: i32screen_y: i32shift_key: boolTrait Implementations
impl From<&MouseEvent> for MouseData
impl From<&MouseEvent> for MouseData
fn from(e: &MouseEvent) -> MouseData
fn from(e: &MouseEvent) -> MouseData
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for MouseData
impl Send for MouseData
impl Sync for MouseData
impl Unpin for MouseData
impl UnwindSafe for MouseData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more