Struct stdweb::web::TokenList
[−]
[src]
pub struct TokenList(_);
The TokenList
represents a set of space-separated tokens.
Methods
impl TokenList
[src]
fn len(&self) -> usize
[src]
Gets the number of tokens in the list.
fn add(&self, token: &str)
[src]
Adds token to the underlying string.
fn remove(&self, token: &str)
[src]
Removes token from the underlying string.
fn contains(&self, token: &str) -> bool
[src]
Returns true
if the underlying string contains token, otherwise false
.
Trait Implementations
impl Debug for TokenList
[src]
fn fmt(&self, formatter: &mut Formatter) -> Result
[src]
Formats the value using the given formatter.
impl Clone for TokenList
[src]
fn clone(&self) -> Self
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl AsRef<Reference> for TokenList
[src]
impl<R: TryInto<Reference>> TryFrom<R> for TokenList where
<R as TryInto<Reference>>::Error: Into<Box<Error>>,
[src]
<R as TryInto<Reference>>::Error: Into<Box<Error>>,