pub enum ElementValue<'a> {
Show 13 variants
Byte {
const_value_index: CPIndex<'a, IntegerInfo>,
},
Char {
const_value_index: CPIndex<'a, IntegerInfo>,
},
Double {
const_value_index: CPIndex<'a, DoubleInfo>,
},
Float {
const_value_index: CPIndex<'a, FloatInfo>,
},
Integer {
const_value_index: CPIndex<'a, IntegerInfo>,
},
Long {
const_value_index: CPIndex<'a, LongInfo>,
},
Short {
const_value_index: CPIndex<'a, IntegerInfo>,
},
Boolean {
const_value_index: CPIndex<'a, IntegerInfo>,
},
String {
const_value_index: CPIndex<'a, UTF8Info<'a>>,
},
Enum {
type_name_index: CPIndex<'a, UTF8Info<'a>>,
const_name_index: CPIndex<'a, UTF8Info<'a>>,
},
Class {
class_info_index: CPIndex<'a, UTF8Info<'a>>,
},
Annotation {
annotation_value: Annotation<'a>,
},
Array {
array_value: Vec<ElementValue<'a>>,
},
}
Variants§
Byte
Fields
§
const_value_index: CPIndex<'a, IntegerInfo>
Char
Fields
§
const_value_index: CPIndex<'a, IntegerInfo>
Double
Fields
§
const_value_index: CPIndex<'a, DoubleInfo>
Float
Integer
Fields
§
const_value_index: CPIndex<'a, IntegerInfo>
Long
Short
Fields
§
const_value_index: CPIndex<'a, IntegerInfo>
Boolean
Fields
§
const_value_index: CPIndex<'a, IntegerInfo>
String
Enum
Class
Annotation
Fields
§
annotation_value: Annotation<'a>
Array
Fields
§
array_value: Vec<ElementValue<'a>>
Implementations§
Source§impl<'a> ElementValue<'a>
impl<'a> ElementValue<'a>
Trait Implementations§
Source§impl<'a> Clone for ElementValue<'a>
impl<'a> Clone for ElementValue<'a>
Source§fn clone(&self) -> ElementValue<'a>
fn clone(&self) -> ElementValue<'a>
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<'a> Debug for ElementValue<'a>
impl<'a> Debug for ElementValue<'a>
Source§impl<'a> Hash for ElementValue<'a>
impl<'a> Hash for ElementValue<'a>
Source§impl<'a> PartialEq for ElementValue<'a>
impl<'a> PartialEq for ElementValue<'a>
impl<'a> Eq for ElementValue<'a>
impl<'a> StructuralPartialEq for ElementValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for ElementValue<'a>
impl<'a> RefUnwindSafe for ElementValue<'a>
impl<'a> Send for ElementValue<'a>
impl<'a> Sync for ElementValue<'a>
impl<'a> Unpin for ElementValue<'a>
impl<'a> UnwindSafe for ElementValue<'a>
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