pub enum ElementValue {
AnnotationValue(Annotation),
ArrayValue(Vec<ElementValue>),
ClassInfoIndex(u16),
ConstValueIndex {
tag: u8,
const_value_index: u16,
},
EnumConstValue {
type_name_index: u16,
const_name_index: u16,
},
}
Variants§
AnnotationValue(Annotation)
ArrayValue(Vec<ElementValue>)
ClassInfoIndex(u16)
ConstValueIndex
EnumConstValue
Trait Implementations§
Source§impl Clone for ElementValue
impl Clone for ElementValue
Source§fn clone(&self) -> ElementValue
fn clone(&self) -> ElementValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ElementValue
impl RefUnwindSafe for ElementValue
impl Send for ElementValue
impl Sync for ElementValue
impl Unpin 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