[][src]Struct kagura::native::MouseEvent

#[repr(transparent)]
pub struct MouseEvent { /* fields omitted */ }

Methods

impl MouseEvent[src]

pub fn alt_key(&self) -> bool[src]

impl MouseEvent[src]

pub fn buttons(&self) -> u32[src]

impl MouseEvent[src]

pub fn client_x(&self) -> i32[src]

impl MouseEvent[src]

pub fn client_y(&self) -> i32[src]

impl MouseEvent[src]

pub fn ctrl_key(&self) -> bool[src]

impl MouseEvent[src]

pub fn meta_key(&self) -> bool[src]

impl MouseEvent[src]

pub fn movement_x(&self) -> i32[src]

impl MouseEvent[src]

pub fn movement_y(&self) -> i32[src]

impl MouseEvent[src]

pub fn offset_x(&self) -> i32[src]

impl MouseEvent[src]

pub fn offset_y(&self) -> i32[src]

impl MouseEvent[src]

pub fn page_x(&self) -> i32[src]

impl MouseEvent[src]

pub fn page_y(&self) -> i32[src]

impl MouseEvent[src]

pub fn screen_x(&self) -> i32[src]

impl MouseEvent[src]

pub fn screen_y(&self) -> i32[src]

impl MouseEvent[src]

pub fn shift_key(&self) -> bool[src]

Methods from Deref<Target = Event>

pub fn target(&self) -> EventTarget[src]

Trait Implementations

impl AsRef<JsValue> for MouseEvent[src]

impl AsRef<MouseEvent> for MouseEvent[src]

impl AsRef<Event> for MouseEvent[src]

impl From<JsValue> for MouseEvent[src]

impl From<MouseEvent> for JsValue[src]

impl From<MouseEvent> for Event[src]

impl Deref for MouseEvent[src]

type Target = Event

The resulting type after dereferencing.

impl FromWasmAbi for MouseEvent[src]

type Abi = <JsValue as FromWasmAbi>::Abi

The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more

impl IntoWasmAbi for MouseEvent[src]

type Abi = <JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl<'a> IntoWasmAbi for &'a MouseEvent[src]

type Abi = <&'a JsValue as IntoWasmAbi>::Abi

The wasm ABI type that this converts into when crossing the ABI boundary. Read more

impl RefFromWasmAbi for MouseEvent[src]

type Abi = <JsValue as RefFromWasmAbi>::Abi

The wasm ABI type references to Self are recovered from.

type Anchor = ManuallyDrop<MouseEvent>

The type that holds the reference to Self for the duration of the invocation of the function that has an &Self parameter. This is required to ensure that the lifetimes don't persist beyond one function call, and so that they remain anonymous. Read more

impl WasmDescribe for MouseEvent[src]

impl OptionFromWasmAbi for MouseEvent[src]

impl OptionIntoWasmAbi for MouseEvent[src]

impl<'a> OptionIntoWasmAbi for &'a MouseEvent[src]

impl JsCast for MouseEvent[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> ReturnWasmAbi for T where
    T: IntoWasmAbi
[src]

type Abi = <T as IntoWasmAbi>::Abi

Same as IntoWasmAbi::Abi