pub enum JvmConstantPoolEntry {
Show 18 variants
Nop,
Utf8(String),
Integer {
value: i32,
},
Float {
value: f32,
},
Long {
value: i64,
},
Double {
value: f64,
},
Class {
name: String,
},
String {
value: String,
},
Fieldref {
class_name: String,
name: String,
descriptor: String,
},
Methodref {
class_name: String,
name: String,
descriptor: String,
},
InterfaceMethodref {
class_name: String,
name: String,
descriptor: String,
},
NameAndType {
name: String,
descriptor: String,
},
MethodHandle {
reference_kind: u8,
reference_index: u16,
},
MethodType {
descriptor: String,
},
Dynamic {
bootstrap_method_attr_index: u16,
name_and_type_index: u16,
},
InvokeDynamic {
bootstrap_method_attr_index: u16,
name_and_type_index: u16,
},
Module {
name: String,
},
Package {
name: String,
},
}Expand description
JVM constant pool entry
Variants§
Nop
No operation
Utf8(String)
UTF-8 string
Integer
Integer value
Float
Float value
Long
Long value
Double
Double value
Class
Class reference
String
String reference
Fieldref
Field reference
Methodref
Method reference
InterfaceMethodref
Interface method reference
NameAndType
Name and type reference
MethodHandle
Method handle
MethodType
Method type
Dynamic
Dynamic constant
Fields
InvokeDynamic
Invoke dynamic constant
Fields
Module
Module reference
Package
Package reference
Trait Implementations§
Source§impl Clone for JvmConstantPoolEntry
impl Clone for JvmConstantPoolEntry
Source§fn clone(&self) -> JvmConstantPoolEntry
fn clone(&self) -> JvmConstantPoolEntry
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 JvmConstantPoolEntry
impl RefUnwindSafe for JvmConstantPoolEntry
impl Send for JvmConstantPoolEntry
impl Sync for JvmConstantPoolEntry
impl Unpin for JvmConstantPoolEntry
impl UnsafeUnpin for JvmConstantPoolEntry
impl UnwindSafe for JvmConstantPoolEntry
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