pub struct AtRuleNode<'s> {
pub loc: Loc,
pub name: String,
pub name_tokens: Vec<&'s Token<'s>>,
pub prelude: String,
pub prelude_tokens: Vec<&'s Token<'s>>,
pub block: Vec<StatementNode<'s>>,
}Expand description
Represents a at-rule
Fields§
§loc: LocLocation information in the source file
name: StringThe name of the at-rule
name_tokens: Vec<&'s Token<'s>>The tokens that made up the name of the at-rule
prelude: Stringprelude of the at-rule
prelude_tokens: Vec<&'s Token<'s>>The tokens that made up the prelude of the at-rule
block: Vec<StatementNode<'s>>The block of the at-rule, consists of statements
Trait Implementations§
Source§impl<'s> Debug for AtRuleNode<'s>
impl<'s> Debug for AtRuleNode<'s>
Source§impl<'s> Default for AtRuleNode<'s>
impl<'s> Default for AtRuleNode<'s>
Source§fn default() -> AtRuleNode<'s>
fn default() -> AtRuleNode<'s>
Returns the “default value” for a type. Read more
Source§impl<'s> PartialEq for AtRuleNode<'s>
impl<'s> PartialEq for AtRuleNode<'s>
Source§impl<'s> Serialize for AtRuleNode<'s>
impl<'s> Serialize for AtRuleNode<'s>
impl<'s> StructuralPartialEq for AtRuleNode<'s>
Auto Trait Implementations§
impl<'s> Freeze for AtRuleNode<'s>
impl<'s> !RefUnwindSafe for AtRuleNode<'s>
impl<'s> !Send for AtRuleNode<'s>
impl<'s> !Sync for AtRuleNode<'s>
impl<'s> Unpin for AtRuleNode<'s>
impl<'s> !UnwindSafe for AtRuleNode<'s>
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