Trait IntoCssStr

Source
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§

Source

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

Returns a string containing CSS.

Implementations on Foreign Types§

Source§

impl IntoCssStr for &'static str

Source§

impl IntoCssStr for Path

Source§

impl IntoCssStr for PathBuf

Implementors§