pub enum ConstantPoolEntry {
Utf8(String),
Class(u16),
String(u16),
Fieldref(u16, u16),
Methodref(u16, u16),
NameAndType(u16, u16),
Integer(i32),
Float(f32),
Long(i64),
Double(f64),
Placeholder,
}
Expand description
Constant pool entry
Variants§
Utf8(String)
Class(u16)
String(u16)
Fieldref(u16, u16)
Methodref(u16, u16)
NameAndType(u16, u16)
Integer(i32)
Float(f32)
Long(i64)
Double(f64)
Placeholder
Trait Implementations§
Source§impl Clone for ConstantPoolEntry
impl Clone for ConstantPoolEntry
Source§fn clone(&self) -> ConstantPoolEntry
fn clone(&self) -> ConstantPoolEntry
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 moreAuto Trait Implementations§
impl Freeze for ConstantPoolEntry
impl RefUnwindSafe for ConstantPoolEntry
impl Send for ConstantPoolEntry
impl Sync for ConstantPoolEntry
impl Unpin for ConstantPoolEntry
impl UnwindSafe for ConstantPoolEntry
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