Struct css::Stylesheet
[−]
[src]
pub struct Stylesheet { pub rules: CssRules, pub source_map_url: Option<String>, pub source_url: Option<String>, }
Fields
rules: CssRules
source_map_url: Option<String>
source_url: Option<String>
Methods
impl Stylesheet
[src]
fn to_css<W: Write>(
&self,
destination: &mut W,
include_source_urls: bool
) -> Result
[src]
&self,
destination: &mut W,
include_source_urls: bool
) -> Result
fn parse<'i>(
css: &'i str
) -> Result<Self, PreciseParseError<CustomParseError<'i>>>
[src]
css: &'i str
) -> Result<Self, PreciseParseError<CustomParseError<'i>>>
Trait Implementations
impl Debug for Stylesheet
[src]
impl Clone for Stylesheet
[src]
fn clone(&self) -> Stylesheet
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more