pub struct FunctionDeclaration {
pub nodes: (Keyword, Option<Lifetime>, FunctionBodyDeclaration),
}
Fields§
§nodes: (Keyword, Option<Lifetime>, FunctionBodyDeclaration)
Trait Implementations§
source§impl Clone for FunctionDeclaration
impl Clone for FunctionDeclaration
source§fn clone(&self) -> FunctionDeclaration
fn clone(&self) -> FunctionDeclaration
Returns a copy 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 Debug for FunctionDeclaration
impl Debug for FunctionDeclaration
source§impl<'a> From<&'a FunctionDeclaration> for RefNode<'a>
impl<'a> From<&'a FunctionDeclaration> for RefNode<'a>
source§fn from(x: &'a FunctionDeclaration) -> Self
fn from(x: &'a FunctionDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a FunctionDeclaration> for RefNodes<'a>
impl<'a> From<&'a FunctionDeclaration> for RefNodes<'a>
source§fn from(x: &'a FunctionDeclaration) -> Self
fn from(x: &'a FunctionDeclaration) -> Self
Converts to this type from the input type.
source§impl From<FunctionDeclaration> for AnyNode
impl From<FunctionDeclaration> for AnyNode
source§fn from(x: FunctionDeclaration) -> Self
fn from(x: FunctionDeclaration) -> Self
Converts to this type from the input type.
source§impl<'a> IntoIterator for &'a FunctionDeclaration
impl<'a> IntoIterator for &'a FunctionDeclaration
source§impl PartialEq<FunctionDeclaration> for FunctionDeclaration
impl PartialEq<FunctionDeclaration> for FunctionDeclaration
source§fn eq(&self, other: &FunctionDeclaration) -> bool
fn eq(&self, other: &FunctionDeclaration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.