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 Document
impl InstanceOf for Window
impl InstanceOf for EventTarget
impl InstanceOf for Node
impl InstanceOf for Element
impl InstanceOf for HtmlElement
impl InstanceOf for ImageElement
impl InstanceOf for InputElement
impl InstanceOf for TextAreaElement
impl InstanceOf for CanvasElement
impl InstanceOf for TokenList
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 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 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 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 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