pub struct Block<'a> {
pub items: Vec<Item<'a, Block<'a>>>,
pub span: Span,
}Expand description
A rule’s {} block with its contents parsed, as declarations and
rules, and its rules’ blocks too: what [parse_stylesheet_deep] makes.
Fields§
§items: Vec<Item<'a, Block<'a>>>§span: SpanFrom the { to the }, or to the end of the input if it’s missing.
Trait Implementations§
Source§impl Drop for Block<'_>
impl Drop for Block<'_>
impl<'a> StructuralPartialEq for Block<'a>
Auto Trait Implementations§
impl<'a> Forget for Block<'a>
impl<'a> Freeze for Block<'a>
impl<'a> Move for Block<'a>
impl<'a> RefUnwindSafe for Block<'a>
impl<'a> Send for Block<'a>
impl<'a> Sync for Block<'a>
impl<'a> Unpin for Block<'a>
impl<'a> UnsafeUnpin for Block<'a>
impl<'a> UnwindSafe for Block<'a>
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