pub struct ElementValuePair {
pub element_name_index: u16,
pub value: ElementValue,
}Expand description
A name-value pair in an annotation.
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7.16
Fields§
§element_name_index: u16§value: ElementValueTrait Implementations§
Source§impl Clone for ElementValuePair
impl Clone for ElementValuePair
Source§impl Debug for ElementValuePair
impl Debug for ElementValuePair
impl Eq for ElementValuePair
Source§impl PartialEq for ElementValuePair
impl PartialEq for ElementValuePair
impl StructuralPartialEq for ElementValuePair
Auto Trait Implementations§
impl Freeze for ElementValuePair
impl RefUnwindSafe for ElementValuePair
impl Send for ElementValuePair
impl Sync for ElementValuePair
impl Unpin for ElementValuePair
impl UnsafeUnpin for ElementValuePair
impl UnwindSafe for ElementValuePair
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