Struct ConstantIndex
pub struct ConstantIndex(pub usize);Expand description
A unique index for a constant value in the constant table.
Tuple Fields§
§0: usizeTrait Implementations§
§impl Clone for ConstantIndex
impl Clone for ConstantIndex
§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 more§impl Debug for ConstantIndex
impl Debug for ConstantIndex
§impl PartialEq<usize> for ConstantIndex
impl PartialEq<usize> for ConstantIndex
§impl PartialEq for ConstantIndex
impl PartialEq 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