pub enum CpInfo {
Show 18 variants
Unusable,
Utf8(String),
Integer(i32),
Float(f32),
Long(i64),
Double(f64),
Class {
name_index: u16,
},
String {
string_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,
},
NameAndType {
name_index: u16,
descriptor_index: u16,
},
MethodHandle {
reference_kind: u8,
reference_index: u16,
},
MethodType {
descriptor_index: u16,
},
Dynamic {
bootstrap_method_attr_index: u16,
name_and_type_index: u16,
},
InvokeDynamic {
bootstrap_method_attr_index: u16,
name_and_type_index: u16,
},
Module {
name_index: u16,
},
Package {
name_index: u16,
},
}Variants§
Unusable
Utf8(String)
Integer(i32)
Float(f32)
Long(i64)
Double(f64)
Class
String
Fieldref
Methodref
InterfaceMethodref
NameAndType
MethodHandle
MethodType
Dynamic
InvokeDynamic
Module
Package
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CpInfo
impl RefUnwindSafe for CpInfo
impl Send for CpInfo
impl Sync for CpInfo
impl Unpin for CpInfo
impl UnsafeUnpin for CpInfo
impl UnwindSafe for CpInfo
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