pub enum StyleRule {
Qualified {
id: SemanticId,
selector: String,
scoped_selector: String,
declarations: Vec<StyleDeclaration>,
span: Span,
},
AtRule {
id: SemanticId,
name: String,
prelude: String,
block: Option<StyleAtRuleBlock>,
span: Span,
},
Keyframes {
id: SemanticId,
name: String,
scoped_name: String,
vendor_prefix: Option<String>,
frames: Vec<Keyframe>,
span: Span,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StyleRule
impl RefUnwindSafe for StyleRule
impl Send for StyleRule
impl Sync for StyleRule
impl Unpin for StyleRule
impl UnsafeUnpin for StyleRule
impl UnwindSafe for StyleRule
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