[][src]Enum pclass_parser::classfile::attributes::Type

pub enum Type {
    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

Fields of ConstantValue

constant_value_index: U2
Code(Code)
StackMapTable

Fields of StackMapTable

entries: Vec<StackMapFrame>
Exceptions

Fields of Exceptions

exceptions: Vec<U2>
InnerClasses

Fields of InnerClasses

classes: Vec<InnerClass>
EnclosingMethod

Fields of EnclosingMethod

em: EnclosingMethod
Synthetic
Signature

Fields of Signature

signature_index: U2
SourceFile

Fields of SourceFile

source_file_index: U2
SourceDebugExtension

Fields of SourceDebugExtension

debug_extension: BytesRef
LineNumberTable

Fields of LineNumberTable

tables: Vec<LineNumber>
LocalVariableTable

Fields of LocalVariableTable

tables: Vec<LocalVariable>
LocalVariableTypeTable

Fields of LocalVariableTypeTable

tables: Vec<LocalVariable>
Deprecated
RuntimeVisibleAnnotations

Fields of RuntimeVisibleAnnotations

raw: BytesRefannotations: Vec<AnnotationEntry>
RuntimeInvisibleAnnotations

Fields of RuntimeInvisibleAnnotations

raw: BytesRefannotations: Vec<AnnotationEntry>
RuntimeVisibleParameterAnnotations

Fields of RuntimeVisibleParameterAnnotations

raw: BytesRefannotations: Vec<AnnotationEntry>
RuntimeInvisibleParameterAnnotations

Fields of RuntimeInvisibleParameterAnnotations

raw: BytesRefannotations: Vec<AnnotationEntry>
RuntimeVisibleTypeAnnotations

Fields of RuntimeVisibleTypeAnnotations

raw: BytesRefannotations: Vec<TypeAnnotation>
RuntimeInvisibleTypeAnnotations

Fields of RuntimeInvisibleTypeAnnotations

raw: BytesRefannotations: Vec<TypeAnnotation>
AnnotationDefault

Fields of AnnotationDefault

raw: BytesRefdefault_value: ElementValueType
BootstrapMethods

Fields of BootstrapMethods

n: U2methods: Vec<BootstrapMethod>
MethodParameters

Fields of MethodParameters

parameters: Vec<MethodParameter>
Unknown

Trait Implementations

impl Clone for Type[src]

impl Debug for Type[src]

Auto Trait Implementations

impl RefUnwindSafe for Type

impl Send for Type

impl Sync for Type

impl Unpin for Type

impl UnwindSafe for Type

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.