pub enum Attribute {
Show 31 variants
AnnotationDefault(ElementValue),
BootstrapMethods(Vec<BootstrapMethod>),
Code {
code: Vec<Instruction>,
max_stack: u16,
max_locals: u16,
attributes: Vec<Attribute>,
},
ConstantValue {
constantvalue_index: u16,
},
Deprecated,
EnclosingMethod {
class_index: u16,
method_index: u16,
},
Exceptions(Vec<u16>),
InnerClasses(Vec<InnerClass>),
LineNumberTable(Vec<LineNumber>),
LocalVariableTable(Vec<LocalVariable>),
LocalVariableTypeTable(Vec<LocalVariableType>),
MethodParameters,
Module,
ModuleMainClass(u16),
ModulePackages(Vec<u16>),
NestHost(u16),
NestMembers(Vec<u16>),
PermittedSubclasses(Vec<u16>),
Record,
RuntimeInvisibleAnnotations(Vec<Annotation>),
RuntimeInvisibleParameterAnnotations(Vec<Vec<Annotation>>),
RuntimeInvisibleTypeAnnotations,
RuntimeVisibleAnnotations(Vec<Annotation>),
RuntimeVisibleParameterAnnotations(Vec<Vec<Annotation>>),
RuntimeVisibleTypeAnnotations,
Signature {
signature_index: u16,
},
SourceDebugExtension {
debug_extension: Vec<u8>,
},
SourceFile {
sourcefile_index: u16,
},
StackMapTable(Vec<StackMapFrame>),
Synthetic,
Unknown {
name: String,
data: Vec<u8>,
},
}Variants§
AnnotationDefault(ElementValue)
BootstrapMethods(Vec<BootstrapMethod>)
Code
ConstantValue
Deprecated
EnclosingMethod
Exceptions(Vec<u16>)
InnerClasses(Vec<InnerClass>)
LineNumberTable(Vec<LineNumber>)
LocalVariableTable(Vec<LocalVariable>)
LocalVariableTypeTable(Vec<LocalVariableType>)
MethodParameters
Not implemented
Module
Not implemented
ModuleMainClass(u16)
ModulePackages(Vec<u16>)
NestHost(u16)
NestMembers(Vec<u16>)
PermittedSubclasses(Vec<u16>)
Record
Not implemented
RuntimeInvisibleAnnotations(Vec<Annotation>)
RuntimeInvisibleParameterAnnotations(Vec<Vec<Annotation>>)
RuntimeInvisibleTypeAnnotations
Not implemented
RuntimeVisibleAnnotations(Vec<Annotation>)
RuntimeVisibleParameterAnnotations(Vec<Vec<Annotation>>)
RuntimeVisibleTypeAnnotations
Not implemented
Signature
SourceDebugExtension
SourceFile
StackMapTable(Vec<StackMapFrame>)
Synthetic
Unknown
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