pub struct AnnotationTypeDeclaration {
pub name: String,
pub modifiers: Vec<String>,
pub annotations: Vec<Annotation>,
pub elements: Vec<AnnotationElement>,
pub span: Range<usize>,
}Expand description
Annotation type declaration
Fields§
§name: StringAnnotation name
modifiers: Vec<String>Modifiers
annotations: Vec<Annotation>Annotations
elements: Vec<AnnotationElement>Annotation elements
span: Range<usize>Source span
Trait Implementations§
Source§impl Clone for AnnotationTypeDeclaration
impl Clone for AnnotationTypeDeclaration
Source§fn clone(&self) -> AnnotationTypeDeclaration
fn clone(&self) -> AnnotationTypeDeclaration
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 Debug for AnnotationTypeDeclaration
impl Debug for AnnotationTypeDeclaration
Source§impl<'de> Deserialize<'de> for AnnotationTypeDeclaration
impl<'de> Deserialize<'de> for AnnotationTypeDeclaration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for AnnotationTypeDeclaration
Auto Trait Implementations§
impl Freeze for AnnotationTypeDeclaration
impl RefUnwindSafe for AnnotationTypeDeclaration
impl Send for AnnotationTypeDeclaration
impl Sync for AnnotationTypeDeclaration
impl Unpin for AnnotationTypeDeclaration
impl UnsafeUnpin for AnnotationTypeDeclaration
impl UnwindSafe for AnnotationTypeDeclaration
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