Struct jbcrs_basic::Annotation [] [src]

pub struct Annotation {
    pub type_index: u16,
    pub element_value_pairs: Vec<(u16, ElementValue)>,
}

Fields

Must be an index to the constant pool with an Item::UTF8(_) representing a field descriptor

The value every single pair holds. The first part is an index to the constant pool, which must be an Item::UTF8(_). The second one is the value itself.

Trait Implementations

impl Debug for Annotation
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Annotation

impl Sync for Annotation