pub enum JvmConstantPoolEntry {
Nop,
Utf8 {
value: 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,
},
}Expand description
JVM 常量池条目(高层表示)
Variants§
Nop
Utf8
Integer
整数常量
Float
浮点数常量
Long
长整数常量
Double
双精度浮点数常量
Class
类引用
String
字符串引用
Fieldref
字段引用
Methodref
方法引用
InterfaceMethodref
接口方法引用
NameAndType
名称和类型
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 moreSource§impl Debug for JvmConstantPoolEntry
impl Debug for JvmConstantPoolEntry
Source§impl PartialEq for JvmConstantPoolEntry
impl PartialEq for JvmConstantPoolEntry
impl StructuralPartialEq for JvmConstantPoolEntry
Auto 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