pub struct ConstantPool {
pub inner: Vec<ConstantEntry>,
}Expand description
The constant pool of a class file.
https://docs.oracle.com/javase/specs/jvms/se25/html/jvms-4.html#jvms-4.4
Fields§
§inner: Vec<ConstantEntry>Implementations§
Trait Implementations§
Source§impl Clone for ConstantPool
impl Clone for ConstantPool
Source§fn clone(&self) -> ConstantPool
fn clone(&self) -> ConstantPool
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ConstantPool
impl Debug for ConstantPool
Source§impl PartialEq for ConstantPool
impl PartialEq for ConstantPool
Source§fn eq(&self, other: &ConstantPool) -> bool
fn eq(&self, other: &ConstantPool) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConstantPool
Auto Trait Implementations§
impl Freeze for ConstantPool
impl RefUnwindSafe for ConstantPool
impl Send for ConstantPool
impl Sync for ConstantPool
impl Unpin for ConstantPool
impl UnsafeUnpin for ConstantPool
impl UnwindSafe for ConstantPool
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