pub struct ConstantPoolIndex(/* private fields */);Expand description
An index into a class file’s constant-pool table.
Index values are preserved exactly as stored in the class file. They are one-based in valid
class files, and some values can refer to unusable reserved slots after Long or Double
constants.
Implementations§
Trait Implementations§
Source§impl Clone for ConstantPoolIndex
impl Clone for ConstantPoolIndex
Source§fn clone(&self) -> ConstantPoolIndex
fn clone(&self) -> ConstantPoolIndex
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 moreimpl Copy for ConstantPoolIndex
Source§impl Debug for ConstantPoolIndex
impl Debug for ConstantPoolIndex
impl Eq for ConstantPoolIndex
Source§impl Hash for ConstantPoolIndex
impl Hash for ConstantPoolIndex
Source§impl PartialEq for ConstantPoolIndex
impl PartialEq for ConstantPoolIndex
impl StructuralPartialEq for ConstantPoolIndex
Auto Trait Implementations§
impl Freeze for ConstantPoolIndex
impl RefUnwindSafe for ConstantPoolIndex
impl Send for ConstantPoolIndex
impl Sync for ConstantPoolIndex
impl Unpin for ConstantPoolIndex
impl UnsafeUnpin for ConstantPoolIndex
impl UnwindSafe for ConstantPoolIndex
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