pub struct BlockContents {
pub rules: Vec<Rule>,
}Expand description
Result of consume_a_block / consume_a_blocks_contents. Combines
a list of declarations (possibly empty) and a list of child rules.
Result of consume_a_block / consume_a_blocks_contents.
All declarations are already flushed into rules as
Rule::Declarations variants per §5.5.5 L2514-2562.
Fields§
§rules: Vec<Rule>Trait Implementations§
Source§impl Clone for BlockContents
impl Clone for BlockContents
Source§impl Debug for BlockContents
impl Debug for BlockContents
Auto Trait Implementations§
impl Forget for BlockContents
impl Freeze for BlockContents
impl RefUnwindSafe for BlockContents
impl Send for BlockContents
impl Sync for BlockContents
impl Unpin for BlockContents
impl UnsafeUnpin for BlockContents
impl UnwindSafe for BlockContents
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