pub enum FunctionDeclarationResult<'tree> {
SimpleType(Box<SimpleType<'tree>>),
ParameterList(Box<ParameterList<'tree>>),
}Variants§
SimpleType(Box<SimpleType<'tree>>)
ParameterList(Box<ParameterList<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for FunctionDeclarationResult<'tree>
impl<'tree> Clone for FunctionDeclarationResult<'tree>
Source§fn clone(&self) -> FunctionDeclarationResult<'tree>
fn clone(&self) -> FunctionDeclarationResult<'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 FunctionDeclarationResult<'tree>
impl<'tree> Debug for FunctionDeclarationResult<'tree>
Source§impl<'tree> FromNode<'tree> for FunctionDeclarationResult<'tree>
impl<'tree> FromNode<'tree> for FunctionDeclarationResult<'tree>
Source§impl<'tree> PartialEq for FunctionDeclarationResult<'tree>
impl<'tree> PartialEq for FunctionDeclarationResult<'tree>
Source§fn eq(&self, other: &FunctionDeclarationResult<'tree>) -> bool
fn eq(&self, other: &FunctionDeclarationResult<'tree>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Spanned for FunctionDeclarationResult<'_>
impl Spanned for FunctionDeclarationResult<'_>
impl<'tree> Eq for FunctionDeclarationResult<'tree>
impl<'tree> StructuralPartialEq for FunctionDeclarationResult<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for FunctionDeclarationResult<'tree>
impl<'tree> RefUnwindSafe for FunctionDeclarationResult<'tree>
impl<'tree> Send for FunctionDeclarationResult<'tree>
impl<'tree> Sync for FunctionDeclarationResult<'tree>
impl<'tree> Unpin for FunctionDeclarationResult<'tree>
impl<'tree> UnsafeUnpin for FunctionDeclarationResult<'tree>
impl<'tree> UnwindSafe for FunctionDeclarationResult<'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