pub struct AnnotationInterfaceDecl {
pub doc_comment: Vec<Comment>,
pub modifiers: Vec<Modifier>,
pub at_span: Span,
pub interface_span: Span,
pub name: Ident,
pub body: AnnotationInterfaceBody,
}Expand description
An annotation interface declaration: @interface Name { ... }.
Fields§
§doc_comment: Vec<Comment>§modifiers: Vec<Modifier>§at_span: Span§interface_span: Span§name: Ident§body: AnnotationInterfaceBodyImplementations§
Trait Implementations§
Source§impl Clone for AnnotationInterfaceDecl
impl Clone for AnnotationInterfaceDecl
Source§fn clone(&self) -> AnnotationInterfaceDecl
fn clone(&self) -> AnnotationInterfaceDecl
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 AnnotationInterfaceDecl
impl Debug for AnnotationInterfaceDecl
impl Eq for AnnotationInterfaceDecl
Source§impl Hash for AnnotationInterfaceDecl
impl Hash for AnnotationInterfaceDecl
Source§impl PartialEq for AnnotationInterfaceDecl
impl PartialEq for AnnotationInterfaceDecl
Source§fn eq(&self, other: &AnnotationInterfaceDecl) -> bool
fn eq(&self, other: &AnnotationInterfaceDecl) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnnotationInterfaceDecl
Auto Trait Implementations§
impl Freeze for AnnotationInterfaceDecl
impl RefUnwindSafe for AnnotationInterfaceDecl
impl Send for AnnotationInterfaceDecl
impl Sync for AnnotationInterfaceDecl
impl Unpin for AnnotationInterfaceDecl
impl UnsafeUnpin for AnnotationInterfaceDecl
impl UnwindSafe for AnnotationInterfaceDecl
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