pub enum ElementValueType {
Show 14 variants
Byte {
val_index: U2,
},
Char {
val_index: U2,
},
Double {
val_index: U2,
},
Float {
val_index: U2,
},
Int {
val_index: U2,
},
Long {
val_index: U2,
},
Short {
val_index: U2,
},
Boolean {
val_index: U2,
},
String {
val_index: U2,
},
Enum {
type_index: U2,
val_index: U2,
},
Class {
index: U2,
},
Annotation(AnnotationElementValue),
Array {
values: Vec<ElementValueType>,
},
Unknown,
}
Variants§
Byte
Char
Double
Float
Int
Long
Short
Boolean
String
Enum
Class
Annotation(AnnotationElementValue)
Array
Fields
§
values: Vec<ElementValueType>
Unknown
Trait Implementations§
Source§impl Clone for ElementValueType
impl Clone for ElementValueType
Source§fn clone(&self) -> ElementValueType
fn clone(&self) -> ElementValueType
Returns a copy 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 ElementValueType
impl RefUnwindSafe for ElementValueType
impl Send for ElementValueType
impl Sync for ElementValueType
impl Unpin for ElementValueType
impl UnwindSafe for ElementValueType
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