pub struct Annotation {
pub type_index: u16,
pub element_value_pairs: Vec<(u16, ElementValue)>,
}
Fields§
§type_index: u16
Must be an index to the constant pool with an Item::UTF8(_)
representing a field descriptor
element_value_pairs: Vec<(u16, ElementValue)>
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§
Auto Trait Implementations§
impl Freeze for Annotation
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnwindSafe for Annotation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more