pub trait Classnames {
    // Required method
    fn append_to(&self, string: &mut String);
}
Expand description

A trait for types to be used in classnames!.

Required Methods§

source

fn append_to(&self, string: &mut String)

Appends the class to a string.

Implementations on Foreign Types§

source§

impl<T: Classnames> Classnames for Option<T>

source§

fn append_to(&self, string: &mut String)

source§

impl Classnames for String

source§

fn append_to(&self, string: &mut String)

source§

impl Classnames for &String

source§

fn append_to(&self, string: &mut String)

source§

impl Classnames for &str

source§

fn append_to(&self, string: &mut String)

Implementors§