Struct stdweb::web::TokenList [] [src]

pub struct TokenList(_);

The TokenList represents a set of space-separated tokens.

(JavaScript docs)

Methods

impl TokenList
[src]

[src]

Gets the number of tokens in the list.

(JavaScript docs)

[src]

Adds token to the underlying string.

(JavaScript docs)

[src]

Removes token from the underlying string.

(JavaScript docs)

[src]

Returns true if the underlying string contains token, otherwise false.

(JavaScript docs)

Trait Implementations

impl Clone for TokenList
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for TokenList
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for TokenList
[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 TokenList
[src]

impl InstanceOf for TokenList
[src]

[src]

Checks whenever a given Reference if of type Self.

impl AsRef<Reference> for TokenList
[src]

[src]

Performs the conversion.

impl ReferenceType for TokenList
[src]

[src]

Converts a given reference into a concrete reference-like wrapper. Doesn't do any type checking; highly unsafe to use! Read more

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 TryFrom<Reference> for TokenList
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'_r> TryFrom<&'_r Reference> for TokenList
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl TryFrom<Value> for TokenList
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl<'_r> TryFrom<&'_r Value> for TokenList
[src]

The type returned in the event of a conversion error.

[src]

Performs the conversion.

impl JsSerialize for TokenList
[src]

Auto Trait Implementations

impl Send for TokenList

impl Sync for TokenList