Trait stdweb::InstanceOf
[−]
[src]
pub trait InstanceOf { fn instance_of(reference: &Reference) -> bool; }
A trait to check whenever a given Reference is of a certain type.
Required Methods
fn instance_of(reference: &Reference) -> bool
Checks whenever a given Reference if of type Self
.
Implementors
impl InstanceOf for Object
impl InstanceOf for Array
impl InstanceOf for Reference
impl InstanceOf for Date
impl InstanceOf for Document
impl InstanceOf for Window
impl InstanceOf for EventTarget
impl InstanceOf for Node
impl InstanceOf for Element
impl InstanceOf for Rect
impl InstanceOf for HtmlElement
impl InstanceOf for CanvasElement
impl InstanceOf for ImageElement
impl InstanceOf for InputElement
impl InstanceOf for TextAreaElement
impl InstanceOf for SelectElement
impl InstanceOf for OptionElement
impl InstanceOf for TokenList
impl InstanceOf for DocumentFragment
impl InstanceOf for TextNode
impl InstanceOf for NodeList
impl InstanceOf for StringMap
impl InstanceOf for Location
impl InstanceOf for Storage
impl InstanceOf for Blob
impl InstanceOf for FileReader
impl InstanceOf for ArrayBuffer
impl<T: ArrayKind> InstanceOf for TypedArray<T>
impl InstanceOf for XmlHttpRequest
impl InstanceOf for History
impl InstanceOf for WebSocket
impl InstanceOf for CanvasRenderingContext2d
impl InstanceOf for CanvasGradient
impl InstanceOf for CanvasPattern
impl InstanceOf for ImageData
impl InstanceOf for TextMetrics
impl InstanceOf for MutationObserver
impl InstanceOf for Error
impl InstanceOf for DomException
impl InstanceOf for HierarchyRequestError
impl InstanceOf for InvalidAccessError
impl InstanceOf for NotFoundError
impl InstanceOf for SecurityError
impl InstanceOf for SyntaxError
impl InstanceOf for IndexSizeError
impl InstanceOf for InvalidStateError
impl InstanceOf for TypeError
impl InstanceOf for NotSupportedError
impl InstanceOf for InvalidCharacterError
impl InstanceOf for ChangeEvent
impl InstanceOf for InputEvent
impl InstanceOf for ResourceLoadEvent
impl InstanceOf for ResourceAbortEvent
impl InstanceOf for ResourceErrorEvent
impl InstanceOf for ResizeEvent
impl InstanceOf for ReadyStateChangeEvent
impl InstanceOf for SubmitEvent
impl InstanceOf for FocusEvent
impl InstanceOf for BlurEvent
impl InstanceOf for HashChangeEvent
impl InstanceOf for PopStateEvent
impl InstanceOf for KeyPressEvent
impl InstanceOf for KeyDownEvent
impl InstanceOf for KeyUpEvent
impl InstanceOf for ClickEvent
impl InstanceOf for DoubleClickEvent
impl InstanceOf for MouseDownEvent
impl InstanceOf for MouseUpEvent
impl InstanceOf for MouseMoveEvent
impl InstanceOf for MouseOverEvent
impl InstanceOf for MouseOutEvent
impl InstanceOf for PointerOverEvent
impl InstanceOf for PointerEnterEvent
impl InstanceOf for PointerDownEvent
impl InstanceOf for PointerMoveEvent
impl InstanceOf for PointerUpEvent
impl InstanceOf for PointerCancelEvent
impl InstanceOf for PointerOutEvent
impl InstanceOf for PointerLeaveEvent
impl InstanceOf for GotPointerCaptureEvent
impl InstanceOf for LostPointerCaptureEvent
impl InstanceOf for ProgressEvent
impl InstanceOf for ProgressLoadEvent
impl InstanceOf for LoadStartEvent
impl InstanceOf for LoadEndEvent
impl InstanceOf for ProgressAbortEvent
impl InstanceOf for ProgressErrorEvent
impl InstanceOf for SocketCloseEvent
impl InstanceOf for SocketErrorEvent
impl InstanceOf for SocketOpenEvent
impl InstanceOf for SocketMessageEvent
impl InstanceOf for HtmlCollection