pub enum TypeDeclarator<'tree> {
ArrayDeclarator(Box<ArrayDeclarator<'tree>>),
AttributedDeclarator(Box<AttributedDeclarator<'tree>>),
FunctionDeclarator(Box<FunctionDeclarator<'tree>>),
ParenthesizedDeclarator(Box<ParenthesizedDeclarator<'tree>>),
PointerDeclarator(Box<PointerDeclarator<'tree>>),
PrimitiveType(Box<PrimitiveType<'tree>>),
ReferenceDeclarator(Box<ReferenceDeclarator<'tree>>),
TypeIdentifier(Box<TypeIdentifier<'tree>>),
}Variants§
ArrayDeclarator(Box<ArrayDeclarator<'tree>>)
AttributedDeclarator(Box<AttributedDeclarator<'tree>>)
FunctionDeclarator(Box<FunctionDeclarator<'tree>>)
ParenthesizedDeclarator(Box<ParenthesizedDeclarator<'tree>>)
PointerDeclarator(Box<PointerDeclarator<'tree>>)
PrimitiveType(Box<PrimitiveType<'tree>>)
ReferenceDeclarator(Box<ReferenceDeclarator<'tree>>)
TypeIdentifier(Box<TypeIdentifier<'tree>>)
Trait Implementations§
Source§impl<'tree> Clone for TypeDeclarator<'tree>
impl<'tree> Clone for TypeDeclarator<'tree>
Source§fn clone(&self) -> TypeDeclarator<'tree>
fn clone(&self) -> TypeDeclarator<'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 TypeDeclarator<'tree>
impl<'tree> Debug for TypeDeclarator<'tree>
Source§impl<'tree> FromNode<'tree> for TypeDeclarator<'tree>
impl<'tree> FromNode<'tree> for TypeDeclarator<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for TypeDeclarator<'tree>
impl<'tree> RefUnwindSafe for TypeDeclarator<'tree>
impl<'tree> Send for TypeDeclarator<'tree>
impl<'tree> Sync for TypeDeclarator<'tree>
impl<'tree> Unpin for TypeDeclarator<'tree>
impl<'tree> UnsafeUnpin for TypeDeclarator<'tree>
impl<'tree> UnwindSafe for TypeDeclarator<'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