Enum jbcrs::basic::ElementValue [] [src]

pub enum ElementValue {
    Byte(u16),
    Short(u16),
    Char(u16),
    Int(u16),
    Long(u16),
    Float(u16),
    Double(u16),
    Boolean(u16),
    String(u16),
    Enum {
        type_name: u16,
        const_name: u16,
    },
    Class(u16),
    Annotation(Box<Annotation>),
    Array(Vec<ElementValue>),
}

Variants

The index to the constant pool which must be an Item::Integer(_).

The index to the constant pool which must be an Item::Integer(_).

The index to the constant pool which must be an Item::Integer(_).

The index to the constant pool which must be an Item::Integer(_).

The index to the constant pool which must be an Item::Long(_).

The index to the constant pool which must be an Item::Float(_).

The index to the constant pool which must be an Item::Double(_).

The index to the constant pool which must be an Item::Integer(_). Yes, it really needs a constant pool entry for this.

The index to the constant pool which must be an Item::UTF8(_).

An enum constant.

Fields of Enum

The index to the constant pool, which must be an Item::UTF8(_). It results in the internal form of the binary name of the type of this enum constant.

The index to the constant pool, which must be an Item::UTF8(_). It results in the simple name of this enum constant.

A class literal. The index to the constant pool which must be an Item::UTF8(_) representing a return descriptor.

Another annotation.

Multiple ElementValues

Trait Implementations

impl Debug for ElementValue
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for ElementValue

impl Sync for ElementValue