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