pub struct ConstantIndex(/* private fields */);Expand description
The type used to refer to constants in the ConstantPool
Trait Implementations§
Source§impl Clone for ConstantIndex
impl Clone for ConstantIndex
Source§fn clone(&self) -> ConstantIndex
fn clone(&self) -> ConstantIndex
Returns a duplicate 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 moreSource§impl Debug for ConstantIndex
impl Debug for ConstantIndex
Source§impl Display for ConstantIndex
impl Display for ConstantIndex
Source§impl From<ConstantIndex> for u32
impl From<ConstantIndex> for u32
Source§fn from(value: ConstantIndex) -> Self
fn from(value: ConstantIndex) -> Self
Converts to this type from the input type.
Source§impl From<ConstantIndex> for usize
impl From<ConstantIndex> for usize
Source§fn from(value: ConstantIndex) -> Self
fn from(value: ConstantIndex) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ConstantIndex
impl From<u32> for ConstantIndex
Source§impl Hash for ConstantIndex
impl Hash for ConstantIndex
Source§impl PartialEq for ConstantIndex
impl PartialEq for ConstantIndex
Source§impl TryFrom<usize> for ConstantIndex
impl TryFrom<usize> for ConstantIndex
impl Copy for ConstantIndex
impl Eq for ConstantIndex
impl StructuralPartialEq for ConstantIndex
Auto Trait Implementations§
impl Freeze for ConstantIndex
impl RefUnwindSafe for ConstantIndex
impl Send for ConstantIndex
impl Sync for ConstantIndex
impl Unpin for ConstantIndex
impl UnwindSafe for ConstantIndex
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