pub struct LocalFunctionStatement<'tree> {
pub span: Span,
pub body: Option<LocalFunctionStatementBody<'tree>>,
pub name: Identifier<'tree>,
pub parameters: ParameterList<'tree>,
pub type: Type<'tree>,
pub type_parameters: Option<TypeParameterList<'tree>>,
pub children: Vec<LocalFunctionStatementChildren<'tree>>,
}Fields§
§span: Span§body: Option<LocalFunctionStatementBody<'tree>>§name: Identifier<'tree>§parameters: ParameterList<'tree>§type: Type<'tree>§type_parameters: Option<TypeParameterList<'tree>>§children: Vec<LocalFunctionStatementChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for LocalFunctionStatement<'tree>
impl<'tree> Clone for LocalFunctionStatement<'tree>
Source§fn clone(&self) -> LocalFunctionStatement<'tree>
fn clone(&self) -> LocalFunctionStatement<'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 LocalFunctionStatement<'tree>
impl<'tree> Debug for LocalFunctionStatement<'tree>
impl<'tree> Eq for LocalFunctionStatement<'tree>
Source§impl<'tree> FromNode<'tree> for LocalFunctionStatement<'tree>
impl<'tree> FromNode<'tree> for LocalFunctionStatement<'tree>
Source§impl<'tree> PartialEq for LocalFunctionStatement<'tree>
impl<'tree> PartialEq for LocalFunctionStatement<'tree>
Source§impl Spanned for LocalFunctionStatement<'_>
impl Spanned for LocalFunctionStatement<'_>
impl<'tree> StructuralPartialEq for LocalFunctionStatement<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for LocalFunctionStatement<'tree>
impl<'tree> RefUnwindSafe for LocalFunctionStatement<'tree>
impl<'tree> Send for LocalFunctionStatement<'tree>
impl<'tree> Sync for LocalFunctionStatement<'tree>
impl<'tree> Unpin for LocalFunctionStatement<'tree>
impl<'tree> UnsafeUnpin for LocalFunctionStatement<'tree>
impl<'tree> UnwindSafe for LocalFunctionStatement<'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