pub struct TypeDeclaration<'tree> {
pub span: Span,
pub children: Vec<TypeDeclarationChildren<'tree>>,
}Fields§
§span: Span§children: Vec<TypeDeclarationChildren<'tree>>Trait Implementations§
Source§impl<'tree> Clone for TypeDeclaration<'tree>
impl<'tree> Clone for TypeDeclaration<'tree>
Source§fn clone(&self) -> TypeDeclaration<'tree>
fn clone(&self) -> TypeDeclaration<'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 TypeDeclaration<'tree>
impl<'tree> Debug for TypeDeclaration<'tree>
Source§impl<'tree> FromNode<'tree> for TypeDeclaration<'tree>
impl<'tree> FromNode<'tree> for TypeDeclaration<'tree>
Source§impl<'tree> PartialEq for TypeDeclaration<'tree>
impl<'tree> PartialEq for TypeDeclaration<'tree>
Source§impl Spanned for TypeDeclaration<'_>
impl Spanned for TypeDeclaration<'_>
impl<'tree> Eq for TypeDeclaration<'tree>
impl<'tree> StructuralPartialEq for TypeDeclaration<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for TypeDeclaration<'tree>
impl<'tree> RefUnwindSafe for TypeDeclaration<'tree>
impl<'tree> Send for TypeDeclaration<'tree>
impl<'tree> Sync for TypeDeclaration<'tree>
impl<'tree> Unpin for TypeDeclaration<'tree>
impl<'tree> UnsafeUnpin for TypeDeclaration<'tree>
impl<'tree> UnwindSafe for TypeDeclaration<'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