pub enum Type {
Show 24 variants
ConstantValue {
constant_value_index: U2,
},
Code(Code),
StackMapTable {
entries: Vec<StackMapFrame>,
},
Exceptions {
exceptions: Vec<U2>,
},
InnerClasses {
classes: Vec<InnerClass>,
},
EnclosingMethod {
em: EnclosingMethod,
},
Synthetic,
Signature {
signature_index: U2,
},
SourceFile {
source_file_index: U2,
},
SourceDebugExtension {
debug_extension: BytesRef,
},
LineNumberTable {
tables: Vec<LineNumber>,
},
LocalVariableTable {
tables: Vec<LocalVariable>,
},
LocalVariableTypeTable {
tables: Vec<LocalVariable>,
},
Deprecated,
RuntimeVisibleAnnotations {
raw: BytesRef,
annotations: Vec<AnnotationEntry>,
},
RuntimeInvisibleAnnotations {
raw: BytesRef,
annotations: Vec<AnnotationEntry>,
},
RuntimeVisibleParameterAnnotations {
raw: BytesRef,
annotations: Vec<AnnotationEntry>,
},
RuntimeInvisibleParameterAnnotations {
raw: BytesRef,
annotations: Vec<AnnotationEntry>,
},
RuntimeVisibleTypeAnnotations {
raw: BytesRef,
annotations: Vec<TypeAnnotation>,
},
RuntimeInvisibleTypeAnnotations {
raw: BytesRef,
annotations: Vec<TypeAnnotation>,
},
AnnotationDefault {
raw: BytesRef,
default_value: ElementValueType,
},
BootstrapMethods {
n: U2,
methods: Vec<BootstrapMethod>,
},
MethodParameters {
parameters: Vec<MethodParameter>,
},
Unknown,
}
Variants§
ConstantValue
Code(Code)
StackMapTable
Fields
§
entries: Vec<StackMapFrame>
Exceptions
InnerClasses
Fields
§
classes: Vec<InnerClass>
EnclosingMethod
Fields
§
em: EnclosingMethod
Synthetic
Signature
SourceFile
SourceDebugExtension
LineNumberTable
Fields
§
tables: Vec<LineNumber>
LocalVariableTable
Fields
§
tables: Vec<LocalVariable>
LocalVariableTypeTable
Fields
§
tables: Vec<LocalVariable>
Deprecated
RuntimeVisibleAnnotations
RuntimeInvisibleAnnotations
RuntimeVisibleParameterAnnotations
RuntimeInvisibleParameterAnnotations
RuntimeVisibleTypeAnnotations
RuntimeInvisibleTypeAnnotations
AnnotationDefault
BootstrapMethods
MethodParameters
Fields
§
parameters: Vec<MethodParameter>
Unknown
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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