pub struct AnnotationTypeElementDeclaration<'tree> {
pub span: Span,
pub dimensions: Option<Dimensions<'tree>>,
pub name: Identifier<'tree>,
pub type: UnannotatedType<'tree>,
pub value: Option<AnnotationTypeElementDeclarationValue<'tree>>,
pub children: Option<Modifiers<'tree>>,
}Fields§
§span: Span§dimensions: Option<Dimensions<'tree>>§name: Identifier<'tree>§type: UnannotatedType<'tree>§value: Option<AnnotationTypeElementDeclarationValue<'tree>>§children: Option<Modifiers<'tree>>Trait Implementations§
Source§impl<'tree> Clone for AnnotationTypeElementDeclaration<'tree>
impl<'tree> Clone for AnnotationTypeElementDeclaration<'tree>
Source§fn clone(&self) -> AnnotationTypeElementDeclaration<'tree>
fn clone(&self) -> AnnotationTypeElementDeclaration<'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 AnnotationTypeElementDeclaration<'tree>
impl<'tree> Debug for AnnotationTypeElementDeclaration<'tree>
Source§impl<'tree> FromNode<'tree> for AnnotationTypeElementDeclaration<'tree>
impl<'tree> FromNode<'tree> for AnnotationTypeElementDeclaration<'tree>
Auto Trait Implementations§
impl<'tree> Freeze for AnnotationTypeElementDeclaration<'tree>
impl<'tree> RefUnwindSafe for AnnotationTypeElementDeclaration<'tree>
impl<'tree> Send for AnnotationTypeElementDeclaration<'tree>
impl<'tree> Sync for AnnotationTypeElementDeclaration<'tree>
impl<'tree> Unpin for AnnotationTypeElementDeclaration<'tree>
impl<'tree> UnsafeUnpin for AnnotationTypeElementDeclaration<'tree>
impl<'tree> UnwindSafe for AnnotationTypeElementDeclaration<'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