Trait IntoCssStr

pub trait IntoCssStr: 'static {
    // Required method
    fn get_style(&self) -> Result<String, Error>;
}
Expand description

Helper trait for getting CSS from a string or path.

Required Methods§

fn get_style(&self) -> Result<String, Error>

Returns a string containing CSS.

Implementations on Foreign Types§

§

impl IntoCssStr for &'static str

§

impl IntoCssStr for Path

§

impl IntoCssStr for PathBuf

Implementors§