pub struct ConstantPool { /* private fields */ }
Implementations§
Source§impl ConstantPool
impl ConstantPool
pub fn get_entry(&self, index: u16) -> Result<ConstantPoolInfo, ClassFileError>
pub fn get_utf8_entry(&self, index: u16) -> Result<String, ClassFileError>
Trait Implementations§
Source§impl Debug for ConstantPool
impl Debug for ConstantPool
Source§impl<'de> Deserialize<'de> for ConstantPool
impl<'de> Deserialize<'de> for ConstantPool
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 ConstantPool
impl RefUnwindSafe for ConstantPool
impl Send for ConstantPool
impl Sync for ConstantPool
impl Unpin 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