pub enum ConstantPoolInfo {
Show 14 variants
Class {
name_index: u16,
},
Fieldref {
class_index: u16,
name_and_type_index: u16,
},
Methodref {
class_index: u16,
name_and_type_index: u16,
},
InterfaceMethodref {
class_index: u16,
name_and_type_index: u16,
},
String {
string_index: u16,
},
Integer {
data: i32,
},
Float {
data: f32,
},
Long {
data: i64,
},
Double {
data: f64,
},
NameAndType {
name_index: u16,
descriptor_index: u16,
},
Utf8 {
length: u16,
string: String,
},
MethodHandle {
reference_kind: u8,
reference_index: u16,
},
MethodType {
descriptor_index: u16,
},
InvokeDynamic {
bootstrap_method_attr_index: u16,
name_and_type_index: u16,
},
}
Variants§
Class
Fieldref
Methodref
InterfaceMethodref
String
Integer
Float
Long
Double
NameAndType
Utf8
MethodHandle
MethodType
InvokeDynamic
Trait Implementations§
Source§impl Clone for ConstantPoolInfo
impl Clone for ConstantPoolInfo
Source§fn clone(&self) -> ConstantPoolInfo
fn clone(&self) -> ConstantPoolInfo
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 moreSource§impl Debug for ConstantPoolInfo
impl Debug for ConstantPoolInfo
Source§impl<'de> Deserialize<'de> for ConstantPoolInfo
impl<'de> Deserialize<'de> for ConstantPoolInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConstantPoolInfo
impl RefUnwindSafe for ConstantPoolInfo
impl Send for ConstantPoolInfo
impl Sync for ConstantPoolInfo
impl Unpin for ConstantPoolInfo
impl UnwindSafe for ConstantPoolInfo
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