pub enum ElementValue {
Const {
tag: u8,
const_value_index: CpIndex,
},
Enum {
type_name_index: CpIndex,
const_name_index: CpIndex,
},
Class {
class_info_index: CpIndex,
},
Annotation {
annotation: Annotation,
},
Array {
values: Vec<ElementValue>,
},
}Expand description
Value of an annotation element.
See JVMS §4.7.16.1.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ElementValue
impl RefUnwindSafe for ElementValue
impl Send for ElementValue
impl Sync for ElementValue
impl Unpin for ElementValue
impl UnsafeUnpin for ElementValue
impl UnwindSafe for ElementValue
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