pub enum AttributeInfo {
Show 15 variants
Code(CodeAttribute),
ConstantValue {
constantvalue_index: u16,
},
Exceptions {
exception_index_table: Vec<u16>,
},
SourceFile {
sourcefile_index: u16,
},
LineNumberTable {
entries: Vec<LineNumber>,
},
LocalVariableTable {
entries: Vec<LocalVariable>,
},
Signature {
signature_index: u16,
},
StackMapTable {
entries: Vec<StackMapFrame>,
},
Deprecated,
Synthetic,
InnerClasses {
classes: Vec<InnerClass>,
},
EnclosingMethod {
class_index: u16,
method_index: u16,
},
BootstrapMethods {
methods: Vec<BootstrapMethod>,
},
MethodParameters {
parameters: Vec<MethodParameter>,
},
Unknown {
name: String,
info: Vec<u8>,
},
}Variants§
Code(CodeAttribute)
ConstantValue
Exceptions
SourceFile
LineNumberTable
Fields
§
entries: Vec<LineNumber>LocalVariableTable
Fields
§
entries: Vec<LocalVariable>Signature
StackMapTable
Fields
§
entries: Vec<StackMapFrame>Deprecated
Synthetic
InnerClasses
Fields
§
classes: Vec<InnerClass>EnclosingMethod
BootstrapMethods
Fields
§
methods: Vec<BootstrapMethod>MethodParameters
Fields
§
parameters: Vec<MethodParameter>Unknown
Trait Implementations§
Source§impl Clone for AttributeInfo
impl Clone for AttributeInfo
Source§fn clone(&self) -> AttributeInfo
fn clone(&self) -> AttributeInfo
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 AttributeInfo
impl RefUnwindSafe for AttributeInfo
impl Send for AttributeInfo
impl Sync for AttributeInfo
impl Unpin for AttributeInfo
impl UnsafeUnpin for AttributeInfo
impl UnwindSafe for AttributeInfo
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