Struct stdweb::Reference [] [src]

#[repr(C)]
pub struct Reference(_);

A type representing a reference to a JavaScript value.

Methods

impl Reference
[src]

[src]

Converts this reference into the given type T; checks whenever the reference is really of type T and returns None if it's not.

Trait Implementations

impl PartialEq for Reference
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Reference
[src]

impl Debug for Reference
[src]

[src]

Formats the value using the given formatter.

impl Clone for Reference
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Drop for Reference
[src]

[src]

Executes the destructor for this type. Read more

impl AsRef<Reference> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<Reference> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a> TryFrom<&'a Reference> for &'a Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl PartialEq<Value> for Reference
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<&'a Value> for Reference
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<'a> PartialEq<Value> for &'a Reference
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl TryFrom<Value> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'a> TryFrom<&'a Value> for &'a Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<Document> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<Document> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<Window> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<Window> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<Event> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<Event> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<ChangeEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<ChangeEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<UiEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<UiEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<LoadEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<LoadEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<MouseEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<MouseEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<ClickEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<ClickEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<DoubleClickEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<DoubleClickEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<KeyboardEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<KeyboardEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<KeypressEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<KeypressEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<FocusRelatedEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<FocusRelatedEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<FocusEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<FocusEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<BlurEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<BlurEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<HashChangeEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<HashChangeEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<ProgressRelatedEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<ProgressRelatedEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<ProgressEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<ProgressEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<LoadStartEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<LoadStartEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<LoadEndEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<LoadEndEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<AbortEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<AbortEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<ErrorEvent> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<ErrorEvent> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<EventTarget> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<EventTarget> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<Node> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<Node> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<Element> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<Element> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<HtmlElement> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<HtmlElement> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<ImageElement> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<ImageElement> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<InputElement> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<InputElement> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<TokenList> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<TokenList> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<TextNode> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<TextNode> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<NodeList> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<NodeList> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<StringMap> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<StringMap> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<Location> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<Location> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<Storage> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<Storage> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<Blob> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<Blob> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<File> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<File> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<FileList> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<FileList> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<FileReader> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<FileReader> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl From<ArrayBuffer> for Reference
[src]

[src]

Performs the conversion.

impl TryFrom<ArrayBuffer> for Reference
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<T> From<TypedArray<T>> for Reference where
    T: ArrayKind, 
[src]

[src]

Performs the conversion.

impl<T> TryFrom<TypedArray<T>> for Reference where
    T: ArrayKind, 
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.