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
Gets the number of tokens in the list.
fn add(&self, token: &str)
Adds token to the underlying string.
fn remove(&self, token: &str)
Removes token from the underlying string.
fn contains(&self, token: &str) -> bool
Returns true
if the underlying string contains token, otherwise false
.
Trait Implementations
impl Debug for TokenList
[src]
impl Clone for TokenList
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl AsRef<Reference> for TokenList
[src]
impl<T: TryInto<Reference>> TryFrom<T> for TokenList where
T::Error: Into<Box<Error>>,
[src]
T::Error: Into<Box<Error>>,