Struct swc_css_ast::Stylesheet
source · pub struct Stylesheet {
pub span: Span,
pub rules: Vec<Rule>,
}
Fields§
§span: Span
§rules: Vec<Rule>
Trait Implementations§
source§impl Clone for Stylesheet
impl Clone for Stylesheet
source§fn clone(&self) -> Stylesheet
fn clone(&self) -> Stylesheet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Stylesheet
impl Debug for Stylesheet
source§impl EqIgnoreSpan for Stylesheet
impl EqIgnoreSpan for Stylesheet
fn eq_ignore_span(&self, other: &Self) -> bool
source§impl Hash for Stylesheet
impl Hash for Stylesheet
source§impl PartialEq<Stylesheet> for Stylesheet
impl PartialEq<Stylesheet> for Stylesheet
source§fn eq(&self, other: &Stylesheet) -> bool
fn eq(&self, other: &Stylesheet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.