Struct classnames::AttrClass[][src]

pub struct AttrClass<N> { /* fields omitted */ }

Implementations

impl<N: Sized + Display> AttrClass<N>[src]

pub fn attr(self, attr: &'static str) -> Self[src]

pub fn maybe_attr(self, attr: &'static str, is_set: bool) -> Self[src]

Trait Implementations

impl<N> Add<&'static str> for AttrClass<N>[src]

type Output = StrClass<Self>

The resulting type after applying the + operator.

impl<N: Clone> Clone for AttrClass<N>[src]

impl<N: Debug> Debug for AttrClass<N>[src]

impl<N: Display> Display for AttrClass<N>[src]

impl<N: PartialEq> PartialEq<AttrClass<N>> for AttrClass<N>[src]

impl<N> StructuralPartialEq for AttrClass<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for AttrClass<N> where
    N: RefUnwindSafe
[src]

impl<N> Send for AttrClass<N> where
    N: Send
[src]

impl<N> Sync for AttrClass<N> where
    N: Sync
[src]

impl<N> Unpin for AttrClass<N> where
    N: Unpin
[src]

impl<N> UnwindSafe for AttrClass<N> where
    N: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.