pub enum SharedAttribute {
Synthetic,
Deprecated,
Signature(u16),
RuntimeVisibleAnnotations(Vec<Annotation>),
RuntimeInvisibleAnnotations(Vec<Annotation>),
RuntimeVisibleTypeAnnotations(Vec<TypeAnnotation>),
RuntimeInvisibleTypeAnnotations(Vec<TypeAnnotation>),
}Expand description
Attribute payloads that can appear at multiple locations (class, field, method, record).
Variants§
Synthetic
Deprecated
Signature(u16)
RuntimeVisibleAnnotations(Vec<Annotation>)
RuntimeInvisibleAnnotations(Vec<Annotation>)
RuntimeVisibleTypeAnnotations(Vec<TypeAnnotation>)
RuntimeInvisibleTypeAnnotations(Vec<TypeAnnotation>)
Trait Implementations§
Source§fn clone(&self) -> SharedAttribute
fn clone(&self) -> SharedAttribute
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§fn eq(&self, other: &SharedAttribute) -> bool
fn eq(&self, other: &SharedAttribute) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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