pub enum ElementValue {
ConstValueIndex {
tag: u8,
const_value_index: u16,
},
EnumConstValue {
type_name_index: u16,
const_name_index: u16,
},
ClassInfoIndex {
class_info_index: u16,
},
AnnotationValue(Box<Annotation>),
ArrayValue(Vec<ElementValue>),
}Variants§
ConstValueIndex
EnumConstValue
ClassInfoIndex
AnnotationValue(Box<Annotation>)
ArrayValue(Vec<ElementValue>)
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 moreSource§impl Debug for ElementValue
impl Debug for ElementValue
Source§impl PartialEq for ElementValue
impl PartialEq for ElementValue
impl StructuralPartialEq for ElementValue
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