pub struct FunctionDeclaration {
pub nodes: (Keyword, Option<Lifetime>, FunctionBodyDeclaration),
}Fields
nodes: (Keyword, Option<Lifetime>, FunctionBodyDeclaration)Trait Implementations
sourceimpl Clone for FunctionDeclaration
impl Clone for FunctionDeclaration
sourcefn clone(&self) -> FunctionDeclaration
fn clone(&self) -> FunctionDeclaration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FunctionDeclaration
impl Debug for FunctionDeclaration
sourceimpl<'a> From<&'a FunctionDeclaration> for RefNode<'a>
impl<'a> From<&'a FunctionDeclaration> for RefNode<'a>
sourcefn from(x: &'a FunctionDeclaration) -> Self
fn from(x: &'a FunctionDeclaration) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a FunctionDeclaration> for RefNodes<'a>
impl<'a> From<&'a FunctionDeclaration> for RefNodes<'a>
sourcefn from(x: &'a FunctionDeclaration) -> Self
fn from(x: &'a FunctionDeclaration) -> Self
Converts to this type from the input type.
sourceimpl From<FunctionDeclaration> for AnyNode
impl From<FunctionDeclaration> for AnyNode
sourcefn from(x: FunctionDeclaration) -> Self
fn from(x: FunctionDeclaration) -> Self
Converts to this type from the input type.
sourceimpl<'a> IntoIterator for &'a FunctionDeclaration
impl<'a> IntoIterator for &'a FunctionDeclaration
sourceimpl PartialEq<FunctionDeclaration> for FunctionDeclaration
impl PartialEq<FunctionDeclaration> for FunctionDeclaration
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &FunctionDeclaration) -> bool
fn ne(&self, other: &FunctionDeclaration) -> bool
This method tests for !=.
sourceimpl<'a> TryFrom<&'a FunctionDeclaration> for Locate
impl<'a> TryFrom<&'a FunctionDeclaration> for Locate
sourceimpl TryFrom<AnyNode> for FunctionDeclaration
impl TryFrom<AnyNode> for FunctionDeclaration
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more