pub enum AnnotationInterfaceMember {
Element(AnnotationElement),
Field(FieldDecl),
Class(ClassDecl),
Interface(InterfaceDecl),
Enum(EnumDecl),
Record(RecordDecl),
AnnotationInterface(AnnotationInterfaceDecl),
Empty(Span),
}Expand description
A member of an annotation interface.
Variants§
Element(AnnotationElement)
An annotation element: Type name() [default value];
Field(FieldDecl)
A constant field.
Class(ClassDecl)
A nested class.
Interface(InterfaceDecl)
A nested interface.
Enum(EnumDecl)
A nested enum.
Record(RecordDecl)
A nested record.
AnnotationInterface(AnnotationInterfaceDecl)
A nested annotation interface.
Empty(Span)
Trait Implementations§
Source§impl Clone for AnnotationInterfaceMember
impl Clone for AnnotationInterfaceMember
Source§fn clone(&self) -> AnnotationInterfaceMember
fn clone(&self) -> AnnotationInterfaceMember
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnnotationInterfaceMember
impl Debug for AnnotationInterfaceMember
impl Eq for AnnotationInterfaceMember
Source§impl Hash for AnnotationInterfaceMember
impl Hash for AnnotationInterfaceMember
Source§impl PartialEq for AnnotationInterfaceMember
impl PartialEq for AnnotationInterfaceMember
Source§fn eq(&self, other: &AnnotationInterfaceMember) -> bool
fn eq(&self, other: &AnnotationInterfaceMember) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnnotationInterfaceMember
Auto Trait Implementations§
impl Freeze for AnnotationInterfaceMember
impl RefUnwindSafe for AnnotationInterfaceMember
impl Send for AnnotationInterfaceMember
impl Sync for AnnotationInterfaceMember
impl Unpin for AnnotationInterfaceMember
impl UnsafeUnpin for AnnotationInterfaceMember
impl UnwindSafe for AnnotationInterfaceMember
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