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 for FunctionDeclaration
impl PartialEq 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 ==
.source§impl<'a> TryFrom<&'a FunctionDeclaration> for Locate
impl<'a> TryFrom<&'a FunctionDeclaration> for Locate
source§impl TryFrom<AnyNode> for FunctionDeclaration
impl TryFrom<AnyNode> for FunctionDeclaration
source§impl TryFrom<FunctionDeclaration> for Locate
impl TryFrom<FunctionDeclaration> for Locate
impl StructuralPartialEq for FunctionDeclaration
Auto Trait Implementations§
impl RefUnwindSafe for FunctionDeclaration
impl Send for FunctionDeclaration
impl Sync for FunctionDeclaration
impl Unpin for FunctionDeclaration
impl UnwindSafe for FunctionDeclaration
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