pub enum BlockItem {
Declaration(Node<Declaration>),
StaticAssert(Node<StaticAssert>),
Statement(Node<Statement>),
}
Expand description
Element of a compound statement
Variants§
Trait Implementations§
impl StructuralPartialEq for BlockItem
Auto Trait Implementations§
impl Freeze for BlockItem
impl RefUnwindSafe for BlockItem
impl Send for BlockItem
impl Sync for BlockItem
impl Unpin for BlockItem
impl UnwindSafe for BlockItem
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