pub enum Attribute {
Show 24 variants
ConstantValue {
constvalue_index: u16,
},
Code {
max_stack: u16,
max_locals: u16,
code: Vec<(u32, Instruction)>,
exception_table: Vec<Exception>,
attributes: Vec<Attribute>,
},
StackMapTable(Vec<StackMapFrame>),
Exceptions {
exception_index_table: Vec<u16>,
},
InnerClasses {
classes: Vec<InnerClass>,
},
EnclosingMethod {
class_index: u16,
method_index: u16,
},
Synthetic,
Signature {
signature_index: u16,
},
SourceFile {
sourcefile_index: u16,
},
SourceDebugExtension(Vec<u8>),
LineNumberTable(Vec<LineNumber>),
LocalVariableTable(Vec<LocalVariable>),
LocalVariableTypeTable(Vec<LocalVariable>),
Deprecated,
RuntimeVisibleAnnotations(Vec<Annotation>),
RuntimeInvisibleAnnotations(Vec<Annotation>),
RuntimeVisibleParameterAnnotations(Vec<Vec<Annotation>>),
RuntimeInvisibleParameterAnnotations(Vec<Vec<Annotation>>),
RuntimeVisibleTypeAnnotations(Vec<TypeAnnotation>),
RuntimeInvisibleTypeAnnotations(Vec<TypeAnnotation>),
AnnotationDefault {
element_value: ElementValue,
},
BootstrapMethods(Vec<BootstrapMethod>),
MethodParameters(Vec<MethodParameter>),
Unknown(Vec<u8>),
}
Variants§
ConstantValue
Code
Fields
§
code: Vec<(u32, Instruction)>
StackMapTable(Vec<StackMapFrame>)
Exceptions
InnerClasses
Fields
§
classes: Vec<InnerClass>
EnclosingMethod
Synthetic
Signature
SourceFile
SourceDebugExtension(Vec<u8>)
LineNumberTable(Vec<LineNumber>)
LocalVariableTable(Vec<LocalVariable>)
LocalVariableTypeTable(Vec<LocalVariable>)
Deprecated
RuntimeVisibleAnnotations(Vec<Annotation>)
RuntimeInvisibleAnnotations(Vec<Annotation>)
RuntimeVisibleParameterAnnotations(Vec<Vec<Annotation>>)
RuntimeInvisibleParameterAnnotations(Vec<Vec<Annotation>>)
RuntimeVisibleTypeAnnotations(Vec<TypeAnnotation>)
RuntimeInvisibleTypeAnnotations(Vec<TypeAnnotation>)
AnnotationDefault
Fields
§
element_value: ElementValue
BootstrapMethods(Vec<BootstrapMethod>)
MethodParameters(Vec<MethodParameter>)
Unknown(Vec<u8>)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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