[−][src]Struct arwa::Classes
Methods
impl<'a> Classes<'a>
[src]
pub fn get(&self, index: usize) -> Option<String>
[src]
pub fn len(&self) -> usize
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn is_not_empty(&self) -> bool
[src]
pub fn contains(&self, class: &str) -> bool
[src]
pub fn insert(&self, class: &str)
[src]
pub fn remove(&self, class: &str)
[src]
pub fn toggle(&self, class: &str) -> bool
[src]
pub fn replace(&self, old: &str, new: &str) -> bool
[src]
ⓘImportant traits for ClassesIter<'a>pub fn iter(&self) -> ClassesIter
[src]
ⓘImportant traits for ClassesIter<'a>
Trait Implementations
impl<'a> IntoIterator for Classes<'a>
[src]
type Item = String
The type of the elements being iterated over.
type IntoIter = ClassesIntoIter<'a>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<'a> ToString for Classes<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Classes<'a>
impl<'a> !Send for Classes<'a>
impl<'a> !Sync for Classes<'a>
impl<'a> Unpin for Classes<'a>
impl<'a> UnwindSafe for Classes<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,