Struct stdweb::Reference [] [src]

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

A type representing a reference to a JavaScript value.

Methods

impl Reference
[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]

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

This method tests for !=.

impl Eq for Reference
[src]

impl Debug for Reference
[src]

Formats the value using the given formatter.

impl Clone for Reference
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Drop for Reference
[src]

A method called when the value goes out of scope. Read more

impl AsRef<Reference> for Reference
[src]

Performs the conversion.

impl TryFrom<Reference> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

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

The type returned in the event of a conversion error.

Performs the conversion.

impl PartialEq<Value> for Reference
[src]

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

This method tests for !=.

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

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

This method tests for !=.

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

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

This method tests for !=.

impl TryFrom<Value> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

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

The type returned in the event of a conversion error.

Performs the conversion.

impl From<Document> for Reference
[src]

Performs the conversion.

impl TryFrom<Document> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<Window> for Reference
[src]

Performs the conversion.

impl TryFrom<Window> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<Event> for Reference
[src]

Performs the conversion.

impl TryFrom<Event> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<ChangeEvent> for Reference
[src]

Performs the conversion.

impl TryFrom<ChangeEvent> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<UiEvent> for Reference
[src]

Performs the conversion.

impl TryFrom<UiEvent> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<MouseEvent> for Reference
[src]

Performs the conversion.

impl TryFrom<MouseEvent> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<ClickEvent> for Reference
[src]

Performs the conversion.

impl TryFrom<ClickEvent> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<DoubleClickEvent> for Reference
[src]

Performs the conversion.

impl TryFrom<DoubleClickEvent> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<KeyboardEvent> for Reference
[src]

Performs the conversion.

impl TryFrom<KeyboardEvent> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<KeypressEvent> for Reference
[src]

Performs the conversion.

impl TryFrom<KeypressEvent> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<FocusRelatedEvent> for Reference
[src]

Performs the conversion.

impl TryFrom<FocusRelatedEvent> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<FocusEvent> for Reference
[src]

Performs the conversion.

impl TryFrom<FocusEvent> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<BlurEvent> for Reference
[src]

Performs the conversion.

impl TryFrom<BlurEvent> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<HashChangeEvent> for Reference
[src]

Performs the conversion.

impl TryFrom<HashChangeEvent> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<EventTarget> for Reference
[src]

Performs the conversion.

impl TryFrom<EventTarget> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<Node> for Reference
[src]

Performs the conversion.

impl TryFrom<Node> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<Element> for Reference
[src]

Performs the conversion.

impl TryFrom<Element> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<HtmlElement> for Reference
[src]

Performs the conversion.

impl TryFrom<HtmlElement> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<InputElement> for Reference
[src]

Performs the conversion.

impl TryFrom<InputElement> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<TokenList> for Reference
[src]

Performs the conversion.

impl TryFrom<TokenList> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<TextNode> for Reference
[src]

Performs the conversion.

impl TryFrom<TextNode> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<NodeList> for Reference
[src]

Performs the conversion.

impl TryFrom<NodeList> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<StringMap> for Reference
[src]

Performs the conversion.

impl TryFrom<StringMap> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<Location> for Reference
[src]

Performs the conversion.

impl TryFrom<Location> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.

impl From<Storage> for Reference
[src]

Performs the conversion.

impl TryFrom<Storage> for Reference
[src]

The type returned in the event of a conversion error.

Performs the conversion.