Struct classnames::ElClass [−][src]
Implementations
impl<N: Sized + Display> ElClass<N>
[src]
pub fn el(self, class: &'static str) -> ElClass<Self>
[src]
pub fn attr(self, attr: &'static str) -> AttrClass<Self>
[src]
pub fn maybe_attr(self, attr: &'static str, is_set: bool) -> AttrClass<Self>
[src]
Trait Implementations
impl<N> Add<&'static str> for ElClass<N>
[src]
type Output = StrClass<Self>
The resulting type after applying the +
operator.
fn add(self, other: &'static str) -> Self::Output
[src]
impl<N: Clone> Clone for ElClass<N>
[src]
impl<N: Copy> Copy for ElClass<N>
[src]
impl<N: Debug> Debug for ElClass<N>
[src]
impl<N: Display> Display for ElClass<N>
[src]
impl<N: PartialEq> PartialEq<ElClass<N>> for ElClass<N>
[src]
impl<N> StructuralPartialEq for ElClass<N>
[src]
Auto Trait Implementations
impl<N> RefUnwindSafe for ElClass<N> where
N: RefUnwindSafe,
[src]
N: RefUnwindSafe,
impl<N> Send for ElClass<N> where
N: Send,
[src]
N: Send,
impl<N> Sync for ElClass<N> where
N: Sync,
[src]
N: Sync,
impl<N> Unpin for ElClass<N> where
N: Unpin,
[src]
N: Unpin,
impl<N> UnwindSafe for ElClass<N> where
N: UnwindSafe,
[src]
N: UnwindSafe,
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,
pub 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<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[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.
pub 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>,