pub enum MethodDeclarationBody<'tree> {
ArrowExpressionClause(Box<ArrowExpressionClause<'tree>>),
Block(Box<Block<'tree>>),
}Variants§
Trait Implementations§
Source§impl<'tree> Clone for MethodDeclarationBody<'tree>
impl<'tree> Clone for MethodDeclarationBody<'tree>
Source§fn clone(&self) -> MethodDeclarationBody<'tree>
fn clone(&self) -> MethodDeclarationBody<'tree>
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<'tree> Debug for MethodDeclarationBody<'tree>
impl<'tree> Debug for MethodDeclarationBody<'tree>
impl<'tree> Eq for MethodDeclarationBody<'tree>
Source§impl<'tree> FromNode<'tree> for MethodDeclarationBody<'tree>
impl<'tree> FromNode<'tree> for MethodDeclarationBody<'tree>
Source§impl<'tree> PartialEq for MethodDeclarationBody<'tree>
impl<'tree> PartialEq for MethodDeclarationBody<'tree>
Source§impl Spanned for MethodDeclarationBody<'_>
impl Spanned for MethodDeclarationBody<'_>
impl<'tree> StructuralPartialEq for MethodDeclarationBody<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for MethodDeclarationBody<'tree>
impl<'tree> RefUnwindSafe for MethodDeclarationBody<'tree>
impl<'tree> Send for MethodDeclarationBody<'tree>
impl<'tree> Sync for MethodDeclarationBody<'tree>
impl<'tree> Unpin for MethodDeclarationBody<'tree>
impl<'tree> UnsafeUnpin for MethodDeclarationBody<'tree>
impl<'tree> UnwindSafe for MethodDeclarationBody<'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