Trait stdweb::ReferenceType [−][src]
pub trait ReferenceType: AsRef<Reference> + InstanceOf + TryFrom<Value> + TryFrom<Reference> { unsafe fn from_reference_unchecked(reference: Reference) -> Self; }
A trait for types which wrap a reference to a JavaScript object.
Required Methods
unsafe fn from_reference_unchecked(reference: Reference) -> Self
Converts a given reference into a concrete reference-like wrapper. Doesn't do any type checking; highly unsafe to use!
Implementors
impl ReferenceType for Objectimpl ReferenceType for Arrayimpl ReferenceType for Dateimpl ReferenceType for Documentimpl ReferenceType for Windowimpl ReferenceType for EventTargetimpl ReferenceType for Nodeimpl ReferenceType for Elementimpl ReferenceType for Rectimpl ReferenceType for HtmlElementimpl ReferenceType for CanvasElementimpl ReferenceType for ImageElementimpl ReferenceType for InputElementimpl ReferenceType for TextAreaElementimpl ReferenceType for SelectElementimpl ReferenceType for OptionElementimpl ReferenceType for TokenListimpl ReferenceType for DocumentFragmentimpl ReferenceType for TextNodeimpl ReferenceType for NodeListimpl ReferenceType for StringMapimpl ReferenceType for Locationimpl ReferenceType for Storageimpl ReferenceType for Blobimpl ReferenceType for FileListimpl ReferenceType for FileReaderimpl ReferenceType for ArrayBufferimpl<T: ArrayKind> ReferenceType for TypedArray<T>impl ReferenceType for XmlHttpRequestimpl ReferenceType for Historyimpl ReferenceType for WebSocketimpl ReferenceType for CanvasRenderingContext2dimpl ReferenceType for CanvasGradientimpl ReferenceType for CanvasPatternimpl ReferenceType for ImageDataimpl ReferenceType for TextMetricsimpl ReferenceType for MutationObserverimpl ReferenceType for Errorimpl ReferenceType for DomExceptionimpl ReferenceType for HierarchyRequestErrorimpl ReferenceType for InvalidAccessErrorimpl ReferenceType for NotFoundErrorimpl ReferenceType for SecurityErrorimpl ReferenceType for SyntaxErrorimpl ReferenceType for IndexSizeErrorimpl ReferenceType for InvalidStateErrorimpl ReferenceType for TypeErrorimpl ReferenceType for NotSupportedErrorimpl ReferenceType for InvalidCharacterErrorimpl ReferenceType for ChangeEventimpl ReferenceType for InputEventimpl ReferenceType for ResourceLoadEventimpl ReferenceType for ResourceAbortEventimpl ReferenceType for ResourceErrorEventimpl ReferenceType for ResizeEventimpl ReferenceType for ReadyStateChangeEventimpl ReferenceType for SubmitEventimpl ReferenceType for SelectionChangeEventimpl ReferenceType for FocusEventimpl ReferenceType for BlurEventimpl ReferenceType for GamepadConnectedEventimpl ReferenceType for GamepadDisconnectedEventimpl ReferenceType for HashChangeEventimpl ReferenceType for PopStateEventimpl ReferenceType for KeyPressEventimpl ReferenceType for KeyDownEventimpl ReferenceType for KeyUpEventimpl ReferenceType for ClickEventimpl ReferenceType for AuxClickEventimpl ReferenceType for ContextMenuEventimpl ReferenceType for DoubleClickEventimpl ReferenceType for MouseDownEventimpl ReferenceType for MouseUpEventimpl ReferenceType for MouseMoveEventimpl ReferenceType for MouseOverEventimpl ReferenceType for MouseOutEventimpl ReferenceType for MouseEnterEventimpl ReferenceType for MouseLeaveEventimpl ReferenceType for MouseWheelEventimpl ReferenceType for PointerOverEventimpl ReferenceType for PointerEnterEventimpl ReferenceType for PointerDownEventimpl ReferenceType for PointerMoveEventimpl ReferenceType for PointerUpEventimpl ReferenceType for PointerCancelEventimpl ReferenceType for PointerOutEventimpl ReferenceType for PointerLeaveEventimpl ReferenceType for GotPointerCaptureEventimpl ReferenceType for LostPointerCaptureEventimpl ReferenceType for PointerLockChangeEventimpl ReferenceType for PointerLockErrorEventimpl ReferenceType for ProgressEventimpl ReferenceType for ProgressLoadEventimpl ReferenceType for LoadStartEventimpl ReferenceType for LoadEndEventimpl ReferenceType for ProgressAbortEventimpl ReferenceType for ProgressErrorEventimpl ReferenceType for SocketCloseEventimpl ReferenceType for SocketErrorEventimpl ReferenceType for SocketOpenEventimpl ReferenceType for SocketMessageEventimpl ReferenceType for HtmlCollectionimpl ReferenceType for GamepadButtonimpl ReferenceType for Gamepad