Enum rust_jvm::model::class_file::attribute::annotation::element_value::ElementValue [] [src]

pub enum ElementValue {
    Byte {
        const_value_index: constant_pool_index,
    },
    Char {
        const_value_index: constant_pool_index,
    },
    Double {
        const_value_index: constant_pool_index,
    },
    Float {
        const_value_index: constant_pool_index,
    },
    Int {
        const_value_index: constant_pool_index,
    },
    Long {
        const_value_index: constant_pool_index,
    },
    Short {
        const_value_index: constant_pool_index,
    },
    Boolean {
        const_value_index: constant_pool_index,
    },
    String {
        const_value_index: constant_pool_index,
    },
    Enum {
        type_name_index: constant_pool_index,
        const_name_index: constant_pool_index,
    },
    Class {
        class_info_index: constant_pool_index,
    },
    Annotation {
        annotation_value: Annotation,
    },
    Array {
        values: Vec<ElementValue>,
    },
}

Variants

Byte

Fields

const_value_index
Char

Fields

const_value_index
Double

Fields

const_value_index
Float

Fields

const_value_index
Int

Fields

const_value_index
Long

Fields

const_value_index
Short

Fields

const_value_index
Boolean

Fields

const_value_index
String

Fields

const_value_index
Enum

Fields

type_name_index
const_name_index
Class

Fields

class_info_index
Annotation

Fields

annotation_value
Array

Fields

values

Trait Implementations

Derived Implementations

impl Debug for ElementValue

fn fmt(&self, __arg_0: &mut Formatter) -> Result