pub enum AttributeInfoKind {
Show 20 variants
ConstantValue {
constantvalue_index: u16,
},
Code {
max_stack: u16,
max_locals: u16,
code_length: u32,
code: Vec<Opcode>,
exception_table_length: u16,
exception_table: Vec<ExceptionTable>,
attributes_count: u16,
attributes: Vec<AttributeInfo>,
},
StackMapTable {
number_of_entries: u16,
entries: Vec<StackMapFrame>,
},
Exceptions {
number_of_exceptions: u16,
exception_index_table: Vec<u16>,
},
InnerClasses {
number_of_classes: u16,
classes: Vec<InnerClass>,
},
EnclosingMethod {
class_index: u16,
method_index: u16,
},
Synthetic {
attribute_name_index: u16,
attribute_length: u32,
},
Signature {
signature_index: u16,
},
SourceFile {
sourcefile_index: u16,
},
SourceDebugExtension {
debug_extension: Vec<u8>,
},
LineNumberTable {
line_number_table_length: u16,
line_number_table: Vec<LineNumberTable>,
},
LocalVariableTable {
local_variable_table_length: u16,
local_variable_table: Vec<LocalVariableTable>,
},
LocalVariableTypeTable {
local_variable_type_table_length: u16,
local_variable_type_table: Vec<LocalVariableTypeTable>,
},
Deprecated,
RuntimeVisibleAnnotations {
num_annotations: u16,
annotations: Vec<Annotation>,
},
RuntimeInvisibleAnnotations {
num_annotations: u16,
annotations: Vec<Annotation>,
},
RuntimeVisibleParameterAnnotations {
num_parameters: u8,
parameter_annotations: Vec<ParameterAnnotation>,
},
RuntimeInvisibleParameterAnnotations {
num_parameters: u8,
parameter_annotations: Vec<ParameterAnnotation>,
},
AnnotationDefault {
default_value: ElementValue,
},
BootstrapMethods {
num_bootstrap_methods: u16,
bootstrap_methods: Vec<BootstrapMethod>,
},
}Variants§
ConstantValue
Code
StackMapTable
Exceptions
InnerClasses
EnclosingMethod
Synthetic
Signature
SourceFile
SourceDebugExtension
LineNumberTable
LocalVariableTable
LocalVariableTypeTable
Deprecated
RuntimeVisibleAnnotations
RuntimeInvisibleAnnotations
RuntimeVisibleParameterAnnotations
RuntimeInvisibleParameterAnnotations
AnnotationDefault
Fields
§
default_value: ElementValueBootstrapMethods
Trait Implementations§
Source§impl Clone for AttributeInfoKind
impl Clone for AttributeInfoKind
Source§fn clone(&self) -> AttributeInfoKind
fn clone(&self) -> AttributeInfoKind
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttributeInfoKind
impl Debug for AttributeInfoKind
Source§impl PartialEq for AttributeInfoKind
impl PartialEq for AttributeInfoKind
Source§impl ToJvmBytecode for AttributeInfoKind
impl ToJvmBytecode for AttributeInfoKind
impl StructuralPartialEq for AttributeInfoKind
Auto Trait Implementations§
impl Freeze for AttributeInfoKind
impl RefUnwindSafe for AttributeInfoKind
impl Send for AttributeInfoKind
impl Sync for AttributeInfoKind
impl Unpin for AttributeInfoKind
impl UnwindSafe for AttributeInfoKind
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)