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 ==
.source§impl Spanned for Stylesheet
impl Spanned for Stylesheet
impl Eq for Stylesheet
impl StructuralEq for Stylesheet
impl StructuralPartialEq for Stylesheet
Auto Trait Implementations§
impl RefUnwindSafe for Stylesheet
impl Send for Stylesheet
impl Sync for Stylesheet
impl Unpin for Stylesheet
impl UnwindSafe for Stylesheet
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more