pub enum ElementValue {
}Expand description
The value of an element in an annotation.
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.7.16.1
Variants§
Byte(u16)
Char(u16)
Double(u16)
Float(u16)
Int(u16)
Long(u16)
Short(u16)
Boolean(u16)
String(u16)
EnumConstValue
Class(u16)
AnnotationValue(Annotation)
Array(Vec<ElementValue>)
Trait Implementations§
Source§impl Clone for ElementValue
impl Clone for ElementValue
Source§impl Debug for ElementValue
impl Debug for ElementValue
impl Eq 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