pub struct BlockContents<'a> {
pub items: Vec<Item<'a>>,
pub errors: Vec<ParseError>,
}Expand description
A block’s declarations and rules, and what was dropped while parsing it.
Fields§
§items: Vec<Item<'a>>§errors: Vec<ParseError>Trait Implementations§
Source§impl<'a> Clone for BlockContents<'a>
impl<'a> Clone for BlockContents<'a>
Source§fn clone(&self) -> BlockContents<'a>
fn clone(&self) -> BlockContents<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for BlockContents<'a>
impl<'a> Debug for BlockContents<'a>
Source§impl<'a> Default for BlockContents<'a>
impl<'a> Default for BlockContents<'a>
Source§fn default() -> BlockContents<'a>
fn default() -> BlockContents<'a>
Returns the “default value” for a type. Read more
Source§impl Display for BlockContents<'_>
impl Display for BlockContents<'_>
Source§impl<'a> PartialEq for BlockContents<'a>
impl<'a> PartialEq for BlockContents<'a>
impl<'a> StructuralPartialEq for BlockContents<'a>
Auto Trait Implementations§
impl<'a> Forget for BlockContents<'a>
impl<'a> Freeze for BlockContents<'a>
impl<'a> Move for BlockContents<'a>
impl<'a> RefUnwindSafe for BlockContents<'a>
impl<'a> Send for BlockContents<'a>
impl<'a> Sync for BlockContents<'a>
impl<'a> Unpin for BlockContents<'a>
impl<'a> UnsafeUnpin for BlockContents<'a>
impl<'a> UnwindSafe for BlockContents<'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