pub enum BodyStatementChildren<'tree> {
Statement(Box<Statement<'tree>>),
Else(Box<Else<'tree>>),
EmptyStatement(Box<EmptyStatement<'tree>>),
Ensure(Box<Ensure<'tree>>),
Rescue(Box<Rescue<'tree>>),
}Variants§
Statement(Box<Statement<'tree>>)
Else(Box<Else<'tree>>)
EmptyStatement(Box<EmptyStatement<'tree>>)
Ensure(Box<Ensure<'tree>>)
Rescue(Box<Rescue<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for BodyStatementChildren<'tree>
impl<'tree> Clone for BodyStatementChildren<'tree>
Source§fn clone(&self) -> BodyStatementChildren<'tree>
fn clone(&self) -> BodyStatementChildren<'tree>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'tree> Debug for BodyStatementChildren<'tree>
impl<'tree> Debug for BodyStatementChildren<'tree>
Source§impl<'tree> FromNode<'tree> for BodyStatementChildren<'tree>
impl<'tree> FromNode<'tree> for BodyStatementChildren<'tree>
Source§impl<'tree> PartialEq for BodyStatementChildren<'tree>
impl<'tree> PartialEq for BodyStatementChildren<'tree>
Source§fn eq(&self, other: &BodyStatementChildren<'tree>) -> bool
fn eq(&self, other: &BodyStatementChildren<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for BodyStatementChildren<'_>
impl Spanned for BodyStatementChildren<'_>
impl<'tree> Eq for BodyStatementChildren<'tree>
impl<'tree> StructuralPartialEq for BodyStatementChildren<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for BodyStatementChildren<'tree>
impl<'tree> RefUnwindSafe for BodyStatementChildren<'tree>
impl<'tree> Send for BodyStatementChildren<'tree>
impl<'tree> Sync for BodyStatementChildren<'tree>
impl<'tree> Unpin for BodyStatementChildren<'tree>
impl<'tree> UnsafeUnpin for BodyStatementChildren<'tree>
impl<'tree> UnwindSafe for BodyStatementChildren<'tree>
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