pub struct Block<'ast, T> {
pub body: NodeList<'ast, T>,
}Fields§
§body: NodeList<'ast, T>Trait Implementations§
Source§impl<'ast> From<Block<'ast, Statement<'ast>>> for Statement<'ast>
impl<'ast> From<Block<'ast, Statement<'ast>>> for Statement<'ast>
Source§fn from(val: BlockStatement<'ast>) -> Self
fn from(val: BlockStatement<'ast>) -> Self
Converts to this type from the input type.
Source§impl<'ast, T: PartialEq> PartialEq for Block<'ast, T>
impl<'ast, T: PartialEq> PartialEq for Block<'ast, T>
impl<'ast, T: Copy> Copy for Block<'ast, T>
impl<'ast, T> StructuralPartialEq for Block<'ast, T>
Auto Trait Implementations§
impl<'ast, T> Freeze for Block<'ast, T>
impl<'ast, T> RefUnwindSafe for Block<'ast, T>where
T: RefUnwindSafe,
impl<'ast, T> Send for Block<'ast, T>
impl<'ast, T> !Sync for Block<'ast, T>
impl<'ast, T> Unpin for Block<'ast, T>
impl<'ast, T> UnsafeUnpin for Block<'ast, T>
impl<'ast, T> UnwindSafe for Block<'ast, T>where
T: RefUnwindSafe,
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