[−][src]Struct web_sys::Event
The Event object
This API requires the following crate features to be activated: Event
Methods
impl Event[src]
impl Eventpub fn new(type_: &str) -> Result<Event, JsValue> | [src] |
The new Event(..) constructor, creating a new instance of Event
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn new_with_event_init_dict( | [src] |
The new Event(..) constructor, creating a new instance of Event
This API requires the following crate features to be activated: Event, EventInit
impl Event[src]
impl Eventpub fn composed_path(&self) -> Array | [src] |
The composedPath() method
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn init_event(&self, type_: &str) | [src] |
The initEvent() method
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn init_event_with_bubbles(&self, type_: &str, bubbles: bool) | [src] |
The initEvent() method
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn init_event_with_bubbles_and_cancelable( | [src] |
The initEvent() method
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn prevent_default(&self) | [src] |
The preventDefault() method
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn stop_immediate_propagation(&self) | [src] |
The stopImmediatePropagation() method
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn stop_propagation(&self) | [src] |
The stopPropagation() method
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn type_(&self) -> String | [src] |
The type getter
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn target(&self) -> Option<EventTarget> | [src] |
The target getter
This API requires the following crate features to be activated: Event, EventTarget
impl Event[src]
impl Eventpub fn current_target(&self) -> Option<EventTarget> | [src] |
The currentTarget getter
This API requires the following crate features to be activated: Event, EventTarget
impl Event[src]
impl Eventpub fn event_phase(&self) -> u16 | [src] |
The eventPhase getter
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn bubbles(&self) -> bool | [src] |
The bubbles getter
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn cancelable(&self) -> bool | [src] |
The cancelable getter
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn default_prevented(&self) -> bool | [src] |
The defaultPrevented getter
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn composed(&self) -> bool | [src] |
The composed getter
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn is_trusted(&self) -> bool | [src] |
The isTrusted getter
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn time_stamp(&self) -> f64 | [src] |
The timeStamp getter
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn cancel_bubble(&self) -> bool | [src] |
The cancelBubble getter
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventpub fn set_cancel_bubble(&self, cancel_bubble: bool) | [src] |
The cancelBubble setter
This API requires the following crate features to be activated: Event
impl Event[src]
impl Eventimpl Event[src]
impl Eventpub const CAPTURING_PHASE: u16[src]
impl Event[src]
impl Eventimpl Event[src]
impl Eventpub const BUBBLING_PHASE: u16[src]
Trait Implementations
impl From<AnimationEvent> for Event[src]
impl From<AnimationEvent> for Eventfn from(obj: AnimationEvent) -> Event | [src] |
impl From<AnimationPlaybackEvent> for Event[src]
impl From<AnimationPlaybackEvent> for Eventfn from(obj: AnimationPlaybackEvent) -> Event | [src] |
impl From<AudioProcessingEvent> for Event[src]
impl From<AudioProcessingEvent> for Eventfn from(obj: AudioProcessingEvent) -> Event | [src] |
impl From<BeforeUnloadEvent> for Event[src]
impl From<BeforeUnloadEvent> for Eventfn from(obj: BeforeUnloadEvent) -> Event | [src] |
impl From<BlobEvent> for Event[src]
impl From<BlobEvent> for Eventimpl From<ClipboardEvent> for Event[src]
impl From<ClipboardEvent> for Eventfn from(obj: ClipboardEvent) -> Event | [src] |
impl From<CloseEvent> for Event[src]
impl From<CloseEvent> for Eventfn from(obj: CloseEvent) -> Event | [src] |
impl From<CompositionEvent> for Event[src]
impl From<CompositionEvent> for Eventfn from(obj: CompositionEvent) -> Event | [src] |
impl From<CustomEvent> for Event[src]
impl From<CustomEvent> for Eventfn from(obj: CustomEvent) -> Event | [src] |
impl From<DeviceLightEvent> for Event[src]
impl From<DeviceLightEvent> for Eventfn from(obj: DeviceLightEvent) -> Event | [src] |
impl From<DeviceMotionEvent> for Event[src]
impl From<DeviceMotionEvent> for Eventfn from(obj: DeviceMotionEvent) -> Event | [src] |
impl From<DeviceOrientationEvent> for Event[src]
impl From<DeviceOrientationEvent> for Eventfn from(obj: DeviceOrientationEvent) -> Event | [src] |
impl From<DeviceProximityEvent> for Event[src]
impl From<DeviceProximityEvent> for Eventfn from(obj: DeviceProximityEvent) -> Event | [src] |
impl From<DragEvent> for Event[src]
impl From<DragEvent> for Eventimpl From<ErrorEvent> for Event[src]
impl From<ErrorEvent> for Eventfn from(obj: ErrorEvent) -> Event | [src] |
impl From<JsValue> for Event[src]
impl From<JsValue> for Eventimpl From<Event> for JsValue[src]
impl From<Event> for JsValueimpl From<Event> for Object[src]
impl From<Event> for Objectimpl From<ExtendableEvent> for Event[src]
impl From<ExtendableEvent> for Eventfn from(obj: ExtendableEvent) -> Event | [src] |
impl From<ExtendableMessageEvent> for Event[src]
impl From<ExtendableMessageEvent> for Eventfn from(obj: ExtendableMessageEvent) -> Event | [src] |
impl From<FetchEvent> for Event[src]
impl From<FetchEvent> for Eventfn from(obj: FetchEvent) -> Event | [src] |
impl From<FocusEvent> for Event[src]
impl From<FocusEvent> for Eventfn from(obj: FocusEvent) -> Event | [src] |
impl From<FontFaceSetLoadEvent> for Event[src]
impl From<FontFaceSetLoadEvent> for Eventfn from(obj: FontFaceSetLoadEvent) -> Event | [src] |
impl From<GamepadAxisMoveEvent> for Event[src]
impl From<GamepadAxisMoveEvent> for Eventfn from(obj: GamepadAxisMoveEvent) -> Event | [src] |
impl From<GamepadButtonEvent> for Event[src]
impl From<GamepadButtonEvent> for Eventfn from(obj: GamepadButtonEvent) -> Event | [src] |
impl From<GamepadEvent> for Event[src]
impl From<GamepadEvent> for Eventfn from(obj: GamepadEvent) -> Event | [src] |
impl From<HashChangeEvent> for Event[src]
impl From<HashChangeEvent> for Eventfn from(obj: HashChangeEvent) -> Event | [src] |
impl From<IdbVersionChangeEvent> for Event[src]
impl From<IdbVersionChangeEvent> for Eventfn from(obj: IdbVersionChangeEvent) -> Event | [src] |
impl From<ImageCaptureErrorEvent> for Event[src]
impl From<ImageCaptureErrorEvent> for Eventfn from(obj: ImageCaptureErrorEvent) -> Event | [src] |
impl From<InputEvent> for Event[src]
impl From<InputEvent> for Eventfn from(obj: InputEvent) -> Event | [src] |
impl From<KeyboardEvent> for Event[src]
impl From<KeyboardEvent> for Eventfn from(obj: KeyboardEvent) -> Event | [src] |
impl From<MidiConnectionEvent> for Event[src]
impl From<MidiConnectionEvent> for Eventfn from(obj: MidiConnectionEvent) -> Event | [src] |
impl From<MidiMessageEvent> for Event[src]
impl From<MidiMessageEvent> for Eventfn from(obj: MidiMessageEvent) -> Event | [src] |
impl From<MediaEncryptedEvent> for Event[src]
impl From<MediaEncryptedEvent> for Eventfn from(obj: MediaEncryptedEvent) -> Event | [src] |
impl From<MediaKeyError> for Event[src]
impl From<MediaKeyError> for Eventfn from(obj: MediaKeyError) -> Event | [src] |
impl From<MediaKeyMessageEvent> for Event[src]
impl From<MediaKeyMessageEvent> for Eventfn from(obj: MediaKeyMessageEvent) -> Event | [src] |
impl From<MediaQueryListEvent> for Event[src]
impl From<MediaQueryListEvent> for Eventfn from(obj: MediaQueryListEvent) -> Event | [src] |
impl From<MediaRecorderErrorEvent> for Event[src]
impl From<MediaRecorderErrorEvent> for Eventfn from(obj: MediaRecorderErrorEvent) -> Event | [src] |
impl From<MediaStreamEvent> for Event[src]
impl From<MediaStreamEvent> for Eventfn from(obj: MediaStreamEvent) -> Event | [src] |
impl From<MediaStreamTrackEvent> for Event[src]
impl From<MediaStreamTrackEvent> for Eventfn from(obj: MediaStreamTrackEvent) -> Event | [src] |
impl From<MessageEvent> for Event[src]
impl From<MessageEvent> for Eventfn from(obj: MessageEvent) -> Event | [src] |
impl From<MouseEvent> for Event[src]
impl From<MouseEvent> for Eventfn from(obj: MouseEvent) -> Event | [src] |
impl From<MouseScrollEvent> for Event[src]
impl From<MouseScrollEvent> for Eventfn from(obj: MouseScrollEvent) -> Event | [src] |
impl From<MutationEvent> for Event[src]
impl From<MutationEvent> for Eventfn from(obj: MutationEvent) -> Event | [src] |
impl From<NotificationEvent> for Event[src]
impl From<NotificationEvent> for Eventfn from(obj: NotificationEvent) -> Event | [src] |
impl From<OfflineAudioCompletionEvent> for Event[src]
impl From<OfflineAudioCompletionEvent> for Eventfn from(obj: OfflineAudioCompletionEvent) -> Event | [src] |
impl From<PageTransitionEvent> for Event[src]
impl From<PageTransitionEvent> for Eventfn from(obj: PageTransitionEvent) -> Event | [src] |
impl From<PaymentMethodChangeEvent> for Event[src]
impl From<PaymentMethodChangeEvent> for Eventfn from(obj: PaymentMethodChangeEvent) -> Event | [src] |
impl From<PaymentRequestUpdateEvent> for Event[src]
impl From<PaymentRequestUpdateEvent> for Eventfn from(obj: PaymentRequestUpdateEvent) -> Event | [src] |
impl From<PointerEvent> for Event[src]
impl From<PointerEvent> for Eventfn from(obj: PointerEvent) -> Event | [src] |
impl From<PopStateEvent> for Event[src]
impl From<PopStateEvent> for Eventfn from(obj: PopStateEvent) -> Event | [src] |
impl From<PopupBlockedEvent> for Event[src]
impl From<PopupBlockedEvent> for Eventfn from(obj: PopupBlockedEvent) -> Event | [src] |
impl From<PresentationConnectionAvailableEvent> for Event[src]
impl From<PresentationConnectionAvailableEvent> for Eventfn from(obj: PresentationConnectionAvailableEvent) -> Event | [src] |
impl From<PresentationConnectionCloseEvent> for Event[src]
impl From<PresentationConnectionCloseEvent> for Eventfn from(obj: PresentationConnectionCloseEvent) -> Event | [src] |
impl From<ProgressEvent> for Event[src]
impl From<ProgressEvent> for Eventfn from(obj: ProgressEvent) -> Event | [src] |
impl From<PromiseRejectionEvent> for Event[src]
impl From<PromiseRejectionEvent> for Eventfn from(obj: PromiseRejectionEvent) -> Event | [src] |
impl From<PushEvent> for Event[src]
impl From<PushEvent> for Eventimpl From<RtcdtmfToneChangeEvent> for Event[src]
impl From<RtcdtmfToneChangeEvent> for Eventfn from(obj: RtcdtmfToneChangeEvent) -> Event | [src] |
impl From<RtcDataChannelEvent> for Event[src]
impl From<RtcDataChannelEvent> for Eventfn from(obj: RtcDataChannelEvent) -> Event | [src] |
impl From<RtcPeerConnectionIceEvent> for Event[src]
impl From<RtcPeerConnectionIceEvent> for Eventfn from(obj: RtcPeerConnectionIceEvent) -> Event | [src] |
impl From<RtcTrackEvent> for Event[src]
impl From<RtcTrackEvent> for Eventfn from(obj: RtcTrackEvent) -> Event | [src] |
impl From<ScrollAreaEvent> for Event[src]
impl From<ScrollAreaEvent> for Eventfn from(obj: ScrollAreaEvent) -> Event | [src] |
impl From<SecurityPolicyViolationEvent> for Event[src]
impl From<SecurityPolicyViolationEvent> for Eventfn from(obj: SecurityPolicyViolationEvent) -> Event | [src] |
impl From<SpeechRecognitionError> for Event[src]
impl From<SpeechRecognitionError> for Eventfn from(obj: SpeechRecognitionError) -> Event | [src] |
impl From<SpeechRecognitionEvent> for Event[src]
impl From<SpeechRecognitionEvent> for Eventfn from(obj: SpeechRecognitionEvent) -> Event | [src] |
impl From<SpeechSynthesisErrorEvent> for Event[src]
impl From<SpeechSynthesisErrorEvent> for Eventfn from(obj: SpeechSynthesisErrorEvent) -> Event | [src] |
impl From<SpeechSynthesisEvent> for Event[src]
impl From<SpeechSynthesisEvent> for Eventfn from(obj: SpeechSynthesisEvent) -> Event | [src] |
impl From<StorageEvent> for Event[src]
impl From<StorageEvent> for Eventfn from(obj: StorageEvent) -> Event | [src] |
impl From<TcpServerSocketEvent> for Event[src]
impl From<TcpServerSocketEvent> for Eventfn from(obj: TcpServerSocketEvent) -> Event | [src] |
impl From<TcpSocketErrorEvent> for Event[src]
impl From<TcpSocketErrorEvent> for Eventfn from(obj: TcpSocketErrorEvent) -> Event | [src] |
impl From<TcpSocketEvent> for Event[src]
impl From<TcpSocketEvent> for Eventfn from(obj: TcpSocketEvent) -> Event | [src] |
impl From<TimeEvent> for Event[src]
impl From<TimeEvent> for Eventimpl From<TouchEvent> for Event[src]
impl From<TouchEvent> for Eventfn from(obj: TouchEvent) -> Event | [src] |
impl From<TrackEvent> for Event[src]
impl From<TrackEvent> for Eventfn from(obj: TrackEvent) -> Event | [src] |
impl From<TransitionEvent> for Event[src]
impl From<TransitionEvent> for Eventfn from(obj: TransitionEvent) -> Event | [src] |
impl From<UiEvent> for Event[src]
impl From<UiEvent> for Eventimpl From<UserProximityEvent> for Event[src]
impl From<UserProximityEvent> for Eventfn from(obj: UserProximityEvent) -> Event | [src] |
impl From<WebGlContextEvent> for Event[src]
impl From<WebGlContextEvent> for Eventfn from(obj: WebGlContextEvent) -> Event | [src] |
impl From<WheelEvent> for Event[src]
impl From<WheelEvent> for Eventfn from(obj: WheelEvent) -> Event | [src] |
impl AsRef<Event> for AnimationEvent[src]
impl AsRef<Event> for AnimationEventimpl AsRef<Event> for AnimationPlaybackEvent[src]
impl AsRef<Event> for AnimationPlaybackEventimpl AsRef<Event> for AudioProcessingEvent[src]
impl AsRef<Event> for AudioProcessingEventimpl AsRef<Event> for BeforeUnloadEvent[src]
impl AsRef<Event> for BeforeUnloadEventimpl AsRef<Event> for BlobEvent[src]
impl AsRef<Event> for BlobEventimpl AsRef<Event> for ClipboardEvent[src]
impl AsRef<Event> for ClipboardEventimpl AsRef<Event> for CloseEvent[src]
impl AsRef<Event> for CloseEventimpl AsRef<Event> for CompositionEvent[src]
impl AsRef<Event> for CompositionEventimpl AsRef<Event> for CustomEvent[src]
impl AsRef<Event> for CustomEventimpl AsRef<Event> for DeviceLightEvent[src]
impl AsRef<Event> for DeviceLightEventimpl AsRef<Event> for DeviceMotionEvent[src]
impl AsRef<Event> for DeviceMotionEventimpl AsRef<Event> for DeviceOrientationEvent[src]
impl AsRef<Event> for DeviceOrientationEventimpl AsRef<Event> for DeviceProximityEvent[src]
impl AsRef<Event> for DeviceProximityEventimpl AsRef<Event> for DragEvent[src]
impl AsRef<Event> for DragEventimpl AsRef<Event> for ErrorEvent[src]
impl AsRef<Event> for ErrorEventimpl AsRef<JsValue> for Event[src]
impl AsRef<JsValue> for Eventimpl AsRef<Object> for Event[src]
impl AsRef<Object> for Eventimpl AsRef<Event> for ExtendableEvent[src]
impl AsRef<Event> for ExtendableEventimpl AsRef<Event> for ExtendableMessageEvent[src]
impl AsRef<Event> for ExtendableMessageEventimpl AsRef<Event> for FetchEvent[src]
impl AsRef<Event> for FetchEventimpl AsRef<Event> for FocusEvent[src]
impl AsRef<Event> for FocusEventimpl AsRef<Event> for FontFaceSetLoadEvent[src]
impl AsRef<Event> for FontFaceSetLoadEventimpl AsRef<Event> for GamepadAxisMoveEvent[src]
impl AsRef<Event> for GamepadAxisMoveEventimpl AsRef<Event> for GamepadButtonEvent[src]
impl AsRef<Event> for GamepadButtonEventimpl AsRef<Event> for GamepadEvent[src]
impl AsRef<Event> for GamepadEventimpl AsRef<Event> for HashChangeEvent[src]
impl AsRef<Event> for HashChangeEventimpl AsRef<Event> for IdbVersionChangeEvent[src]
impl AsRef<Event> for IdbVersionChangeEventimpl AsRef<Event> for ImageCaptureErrorEvent[src]
impl AsRef<Event> for ImageCaptureErrorEventimpl AsRef<Event> for InputEvent[src]
impl AsRef<Event> for InputEventimpl AsRef<Event> for KeyboardEvent[src]
impl AsRef<Event> for KeyboardEventimpl AsRef<Event> for MidiConnectionEvent[src]
impl AsRef<Event> for MidiConnectionEventimpl AsRef<Event> for MidiMessageEvent[src]
impl AsRef<Event> for MidiMessageEventimpl AsRef<Event> for MediaEncryptedEvent[src]
impl AsRef<Event> for MediaEncryptedEventimpl AsRef<Event> for MediaKeyError[src]
impl AsRef<Event> for MediaKeyErrorimpl AsRef<Event> for MediaKeyMessageEvent[src]
impl AsRef<Event> for MediaKeyMessageEventimpl AsRef<Event> for MediaQueryListEvent[src]
impl AsRef<Event> for MediaQueryListEventimpl AsRef<Event> for MediaRecorderErrorEvent[src]
impl AsRef<Event> for MediaRecorderErrorEventimpl AsRef<Event> for MediaStreamEvent[src]
impl AsRef<Event> for MediaStreamEventimpl AsRef<Event> for MediaStreamTrackEvent[src]
impl AsRef<Event> for MediaStreamTrackEventimpl AsRef<Event> for MessageEvent[src]
impl AsRef<Event> for MessageEventimpl AsRef<Event> for MouseEvent[src]
impl AsRef<Event> for MouseEventimpl AsRef<Event> for MouseScrollEvent[src]
impl AsRef<Event> for MouseScrollEventimpl AsRef<Event> for MutationEvent[src]
impl AsRef<Event> for MutationEventimpl AsRef<Event> for NotificationEvent[src]
impl AsRef<Event> for NotificationEventimpl AsRef<Event> for OfflineAudioCompletionEvent[src]
impl AsRef<Event> for OfflineAudioCompletionEventimpl AsRef<Event> for PageTransitionEvent[src]
impl AsRef<Event> for PageTransitionEventimpl AsRef<Event> for PaymentMethodChangeEvent[src]
impl AsRef<Event> for PaymentMethodChangeEventimpl AsRef<Event> for PaymentRequestUpdateEvent[src]
impl AsRef<Event> for PaymentRequestUpdateEventimpl AsRef<Event> for PointerEvent[src]
impl AsRef<Event> for PointerEventimpl AsRef<Event> for PopStateEvent[src]
impl AsRef<Event> for PopStateEventimpl AsRef<Event> for PopupBlockedEvent[src]
impl AsRef<Event> for PopupBlockedEventimpl AsRef<Event> for PresentationConnectionAvailableEvent[src]
impl AsRef<Event> for PresentationConnectionAvailableEventimpl AsRef<Event> for PresentationConnectionCloseEvent[src]
impl AsRef<Event> for PresentationConnectionCloseEventimpl AsRef<Event> for ProgressEvent[src]
impl AsRef<Event> for ProgressEventimpl AsRef<Event> for PromiseRejectionEvent[src]
impl AsRef<Event> for PromiseRejectionEventimpl AsRef<Event> for PushEvent[src]
impl AsRef<Event> for PushEventimpl AsRef<Event> for RtcdtmfToneChangeEvent[src]
impl AsRef<Event> for RtcdtmfToneChangeEventimpl AsRef<Event> for RtcDataChannelEvent[src]
impl AsRef<Event> for RtcDataChannelEventimpl AsRef<Event> for RtcPeerConnectionIceEvent[src]
impl AsRef<Event> for RtcPeerConnectionIceEventimpl AsRef<Event> for RtcTrackEvent[src]
impl AsRef<Event> for RtcTrackEventimpl AsRef<Event> for ScrollAreaEvent[src]
impl AsRef<Event> for ScrollAreaEventimpl AsRef<Event> for SecurityPolicyViolationEvent[src]
impl AsRef<Event> for SecurityPolicyViolationEventimpl AsRef<Event> for SpeechRecognitionError[src]
impl AsRef<Event> for SpeechRecognitionErrorimpl AsRef<Event> for SpeechRecognitionEvent[src]
impl AsRef<Event> for SpeechRecognitionEventimpl AsRef<Event> for SpeechSynthesisErrorEvent[src]
impl AsRef<Event> for SpeechSynthesisErrorEventimpl AsRef<Event> for SpeechSynthesisEvent[src]
impl AsRef<Event> for SpeechSynthesisEventimpl AsRef<Event> for StorageEvent[src]
impl AsRef<Event> for StorageEventimpl AsRef<Event> for TcpServerSocketEvent[src]
impl AsRef<Event> for TcpServerSocketEventimpl AsRef<Event> for TcpSocketErrorEvent[src]
impl AsRef<Event> for TcpSocketErrorEventimpl AsRef<Event> for TcpSocketEvent[src]
impl AsRef<Event> for TcpSocketEventimpl AsRef<Event> for TimeEvent[src]
impl AsRef<Event> for TimeEventimpl AsRef<Event> for TouchEvent[src]
impl AsRef<Event> for TouchEventimpl AsRef<Event> for TrackEvent[src]
impl AsRef<Event> for TrackEventimpl AsRef<Event> for TransitionEvent[src]
impl AsRef<Event> for TransitionEventimpl AsRef<Event> for UiEvent[src]
impl AsRef<Event> for UiEventimpl AsRef<Event> for UserProximityEvent[src]
impl AsRef<Event> for UserProximityEventimpl AsRef<Event> for WebGlContextEvent[src]
impl AsRef<Event> for WebGlContextEventimpl AsRef<Event> for WheelEvent[src]
impl AsRef<Event> for WheelEventimpl Clone for Event[src]
impl Clone for Eventfn clone(&self) -> Event | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source. Read more
impl Debug for Event[src]
impl Debug for Eventimpl Deref for Event[src]
impl Deref for Eventimpl FromWasmAbi for Event[src]
impl FromWasmAbi for Eventtype Abi = <JsValue as FromWasmAbi>::Abi
The wasm ABI type that this converts from when coming back out from the ABI boundary. Read more
unsafe fn from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self | [src] |
impl IntoWasmAbi for Event[src]
impl IntoWasmAbi for Eventtype Abi = <JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi | [src] |
impl<'a> IntoWasmAbi for &'a Event[src]
impl<'a> IntoWasmAbi for &'a Eventtype Abi = <&'a JsValue as IntoWasmAbi>::Abi
The wasm ABI type that this converts into when crossing the ABI boundary. Read more
fn into_abi(self, extra: &mut dyn Stack) -> Self::Abi | [src] |
impl WasmDescribe for Event[src]
impl WasmDescribe for Eventimpl OptionIntoWasmAbi for Event[src]
impl OptionIntoWasmAbi for Eventimpl<'a> OptionIntoWasmAbi for &'a Event[src]
impl<'a> OptionIntoWasmAbi for &'a Eventimpl OptionFromWasmAbi for Event[src]
impl OptionFromWasmAbi for Eventimpl RefFromWasmAbi for Event[src]
impl RefFromWasmAbi for Eventtype Abi = <JsValue as RefFromWasmAbi>::Abi
The wasm ABI type references to Self are recovered from.
type Anchor = ManuallyDrop<Event>
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
unsafe fn ref_from_abi(js: Self::Abi, extra: &mut dyn Stack) -> Self::Anchor | [src] |
impl JsCast for Event[src]
impl JsCast for Eventfn instanceof(val: &JsValue) -> bool | [src] |
fn unchecked_from_js(val: JsValue) -> Self | [src] |
fn unchecked_from_js_ref(val: &JsValue) -> &Self | [src] |
fn is_instance_of<T>(&self) -> bool where | [src] |
Test whether this JS value is an instance of the type T. Read more
fn dyn_into<T>(self) -> Result<T, Self> where | [src] |
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
fn dyn_ref<T>(&self) -> Option<&T> where | [src] |
Performs a dynamic cast (checked at runtime) of this value into the target type T. Read more
fn unchecked_into<T>(self) -> T where | [src] |
Performs a zero-cost unchecked cast into the specified type. Read more
fn unchecked_ref<T>(&self) -> &T where | [src] |
Performs a zero-cost unchecked cast into a reference to the specified type. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId | [src] |
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, [src]
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi, type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi | [src] |