[][src]Enum javaclass::ConstantPoolInfo

pub enum ConstantPoolInfo {
    Class {
        name_index: u16,
    },
    Fieldref {
        class_index: u16,
        name_and_type_index: u16,
    },
    Methodref {
        class_index: u16,
        name_and_type_index: u16,
    },
    InterfaceMethodref {
        class_index: u16,
        name_and_type_index: u16,
    },
    String {
        string_index: u16,
    },
    Integer {
        data: i32,
    },
    Float {
        data: f32,
    },
    Long {
        data: i64,
    },
    Double {
        data: f64,
    },
    NameAndType {
        name_index: u16,
        descriptor_index: u16,
    },
    Utf8 {
        length: u16,
        string: String,
    },
    MethodHandle {
        reference_kind: u8,
        reference_index: u16,
    },
    MethodType {
        descriptor_index: u16,
    },
    InvokeDynamic {
        bootstrap_method_attr_index: u16,
        name_and_type_index: u16,
    },
}

Variants

Class

Fields of Class

name_index: u16
Fieldref

Fields of Fieldref

class_index: u16name_and_type_index: u16
Methodref

Fields of Methodref

class_index: u16name_and_type_index: u16
InterfaceMethodref

Fields of InterfaceMethodref

class_index: u16name_and_type_index: u16
String

Fields of String

string_index: u16
Integer

Fields of Integer

data: i32
Float

Fields of Float

data: f32
Long

Fields of Long

data: i64
Double

Fields of Double

data: f64
NameAndType

Fields of NameAndType

name_index: u16descriptor_index: u16
Utf8

Fields of Utf8

length: u16string: String
MethodHandle

Fields of MethodHandle

reference_kind: u8reference_index: u16
MethodType

Fields of MethodType

descriptor_index: u16
InvokeDynamic

Fields of InvokeDynamic

bootstrap_method_attr_index: u16name_and_type_index: u16

Trait Implementations

impl Clone for ConstantPoolInfo[src]

impl Debug for ConstantPoolInfo[src]

impl<'de> Deserialize<'de> for ConstantPoolInfo[src]

impl Serialize for ConstantPoolInfo[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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.