pub struct AnonymousFunction<'tree> {
pub span: Span,
pub attributes: Option<AttributeList<'tree>>,
pub body: CompoundStatement<'tree>,
pub parameters: FormalParameters<'tree>,
pub reference_modifier: Option<ReferenceModifier<'tree>>,
pub return_type: Option<AnonymousFunctionReturnType<'tree>>,
pub static_modifier: Option<StaticModifier<'tree>>,
pub children: Option<AnonymousFunctionUseClause<'tree>>,
}Fields§
§span: Span§attributes: Option<AttributeList<'tree>>§body: CompoundStatement<'tree>§parameters: FormalParameters<'tree>§reference_modifier: Option<ReferenceModifier<'tree>>§return_type: Option<AnonymousFunctionReturnType<'tree>>§static_modifier: Option<StaticModifier<'tree>>§children: Option<AnonymousFunctionUseClause<'tree>>Trait Implementations§
Source§impl<'tree> Clone for AnonymousFunction<'tree>
impl<'tree> Clone for AnonymousFunction<'tree>
Source§fn clone(&self) -> AnonymousFunction<'tree>
fn clone(&self) -> AnonymousFunction<'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 AnonymousFunction<'tree>
impl<'tree> Debug for AnonymousFunction<'tree>
Source§impl<'tree> FromNode<'tree> for AnonymousFunction<'tree>
impl<'tree> FromNode<'tree> for AnonymousFunction<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for AnonymousFunction<'tree>
impl<'tree> RefUnwindSafe for AnonymousFunction<'tree>
impl<'tree> Send for AnonymousFunction<'tree>
impl<'tree> Sync for AnonymousFunction<'tree>
impl<'tree> Unpin for AnonymousFunction<'tree>
impl<'tree> UnsafeUnpin for AnonymousFunction<'tree>
impl<'tree> UnwindSafe for AnonymousFunction<'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