pub enum MouseEventType {
MouseDown,
MouseUp,
MouseMove,
}
Expand description
Type of mouse event
Variants§
Trait Implementations§
Source§impl Clone for MouseEventType
impl Clone for MouseEventType
Source§fn clone(&self) -> MouseEventType
fn clone(&self) -> MouseEventType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MouseEventType
impl Debug for MouseEventType
Source§impl From<MouseEventType> for JsValue
impl From<MouseEventType> for JsValue
Source§fn from(value: MouseEventType) -> Self
fn from(value: MouseEventType) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for MouseEventType
impl FromWasmAbi for MouseEventType
Source§impl IntoWasmAbi for MouseEventType
impl IntoWasmAbi for MouseEventType
Source§impl OptionFromWasmAbi for MouseEventType
impl OptionFromWasmAbi for MouseEventType
Source§impl OptionIntoWasmAbi for MouseEventType
impl OptionIntoWasmAbi for MouseEventType
Source§impl TryFromJsValue for MouseEventType
impl TryFromJsValue for MouseEventType
Source§fn try_from_js_value(
value: JsValue,
) -> Result<Self, <MouseEventType as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<Self, <MouseEventType as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for MouseEventType
impl VectorFromWasmAbi for MouseEventType
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[MouseEventType]>
Source§impl VectorIntoJsValue for MouseEventType
impl VectorIntoJsValue for MouseEventType
fn vector_into_jsvalue(vector: Box<[MouseEventType]>) -> JsValue
Source§impl VectorIntoWasmAbi for MouseEventType
impl VectorIntoWasmAbi for MouseEventType
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[MouseEventType]>) -> Self::Abi
Source§impl WasmDescribeVector for MouseEventType
impl WasmDescribeVector for MouseEventType
impl Copy for MouseEventType
Auto Trait Implementations§
impl Freeze for MouseEventType
impl RefUnwindSafe for MouseEventType
impl Send for MouseEventType
impl Sync for MouseEventType
impl Unpin for MouseEventType
impl UnwindSafe for MouseEventType
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,
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.