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