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