pub enum ParsedAttribute {
Show 24 variants
Code(CodeAttribute),
ConstantValue(ConstantValueAttribute),
Exceptions(ExceptionsAttribute),
BootstrapMethods(BootstrapMethodsAttribute),
StackMapTable(StackMapTableAttribute),
InnerClasses(InnerClassesAttribute),
SourceFile(SourceFileAttribute),
LineNumberTable(LineNumberTableAttribute),
LocalVariableTable(LocalVariableTableAttribute),
LocalVariableTypeTable(LocalVariableTypeTableAttribute),
RuntimeVisibleAnnotations(RuntimeAnnotationsAttribute),
RuntimeInvisibleAnnotations(RuntimeAnnotationsAttribute),
RuntimeVisibleParameterAnnotations(RuntimeParameterAnnotationsAttribute),
RuntimeInvisibleParameterAnnotations(RuntimeParameterAnnotationsAttribute),
RuntimeVisibleTypeAnnotations(RuntimeTypeAnnotationsAttribute),
RuntimeInvisibleTypeAnnotations(RuntimeTypeAnnotationsAttribute),
NestHost(NestHostAttribute),
NestMembers(NestMembersAttribute),
Record(RecordAttribute),
PermittedSubclasses(PermittedSubclassesAttribute),
Deprecated,
Synthetic,
Signature {
signature_index: u16,
},
Unknown(AttributeInfo),
}Expand description
Parsed attribute with its specialized form if recognized.
Variants§
Code(CodeAttribute)
ConstantValue(ConstantValueAttribute)
Exceptions(ExceptionsAttribute)
BootstrapMethods(BootstrapMethodsAttribute)
StackMapTable(StackMapTableAttribute)
InnerClasses(InnerClassesAttribute)
SourceFile(SourceFileAttribute)
LineNumberTable(LineNumberTableAttribute)
LocalVariableTable(LocalVariableTableAttribute)
LocalVariableTypeTable(LocalVariableTypeTableAttribute)
RuntimeVisibleAnnotations(RuntimeAnnotationsAttribute)
RuntimeInvisibleAnnotations(RuntimeAnnotationsAttribute)
RuntimeVisibleParameterAnnotations(RuntimeParameterAnnotationsAttribute)
RuntimeInvisibleParameterAnnotations(RuntimeParameterAnnotationsAttribute)
RuntimeVisibleTypeAnnotations(RuntimeTypeAnnotationsAttribute)
RuntimeInvisibleTypeAnnotations(RuntimeTypeAnnotationsAttribute)
NestHost(NestHostAttribute)
NestMembers(NestMembersAttribute)
Record(RecordAttribute)
PermittedSubclasses(PermittedSubclassesAttribute)
Deprecated
Synthetic
Signature
Unknown(AttributeInfo)
Trait Implementations§
Source§impl Clone for ParsedAttribute
impl Clone for ParsedAttribute
Source§fn clone(&self) -> ParsedAttribute
fn clone(&self) -> ParsedAttribute
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 moreAuto Trait Implementations§
impl Freeze for ParsedAttribute
impl RefUnwindSafe for ParsedAttribute
impl Send for ParsedAttribute
impl Sync for ParsedAttribute
impl Unpin for ParsedAttribute
impl UnsafeUnpin for ParsedAttribute
impl UnwindSafe for ParsedAttribute
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