pub struct Block<'ast, T> {
pub body: NodeList<'ast, T>,
}
Fields
body: NodeList<'ast, T>
Trait Implementations
sourceimpl<'ast> From<Block<'ast, Statement<'ast>>> for Statement<'ast>
impl<'ast> From<Block<'ast, Statement<'ast>>> for Statement<'ast>
sourcefn from(val: BlockStatement<'ast>) -> Self
fn from(val: BlockStatement<'ast>) -> Self
Converts to this type from the input type.
sourceimpl<'ast, T: PartialEq> PartialEq<Block<'ast, T>> for Block<'ast, T>
impl<'ast, T: PartialEq> PartialEq<Block<'ast, T>> 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> 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> UnwindSafe for Block<'ast, T>where
T: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more