pub enum AttributeKind {
Show 30 variants
ConstantValue,
Code,
Exceptions,
SourceFile,
LineNumberTable,
LocalVariableTable,
InnerClasses,
Synthetic,
Deprecated,
EnclosingMethod,
Signature,
SourceDebugExtension,
LocalVariableTypeTable,
RuntimeVisibleAnnotations,
RuntimeInvisibleAnnotations,
RuntimeVisibleParameterAnnotations,
RuntimeInvisibleParameterAnnotations,
AnnotationDefault,
StackMapTable,
BootstrapMethods,
RuntimeVisibleTypeAnnotations,
RuntimeInvisibleTypeAnnotations,
MethodParameters,
Module,
ModulePackages,
ModuleMainClass,
NestHost,
NestMembers,
Record,
PermittedSubclasses,
}Expand description
Discriminant for attribute types defined in the JVM specification.
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7
Variants§
ConstantValue
Code
Exceptions
SourceFile
LineNumberTable
LocalVariableTable
InnerClasses
Synthetic
Deprecated
EnclosingMethod
Signature
SourceDebugExtension
LocalVariableTypeTable
RuntimeVisibleAnnotations
RuntimeInvisibleAnnotations
RuntimeVisibleParameterAnnotations
RuntimeInvisibleParameterAnnotations
AnnotationDefault
StackMapTable
BootstrapMethods
RuntimeVisibleTypeAnnotations
RuntimeInvisibleTypeAnnotations
MethodParameters
Module
ModulePackages
ModuleMainClass
NestHost
NestMembers
Record
PermittedSubclasses
Implementations§
Trait Implementations§
Source§impl Clone for AttributeKind
impl Clone for AttributeKind
Source§impl Debug for AttributeKind
impl Debug for AttributeKind
Source§impl Display for AttributeKind
impl Display for AttributeKind
impl Eq for AttributeKind
Source§impl Hash for AttributeKind
impl Hash for AttributeKind
Source§impl PartialEq for AttributeKind
impl PartialEq for AttributeKind
impl StructuralPartialEq for AttributeKind
Auto Trait Implementations§
impl Freeze for AttributeKind
impl RefUnwindSafe for AttributeKind
impl Send for AttributeKind
impl Sync for AttributeKind
impl Unpin for AttributeKind
impl UnsafeUnpin for AttributeKind
impl UnwindSafe for AttributeKind
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