pub struct ConstantIndex(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for ConstantIndex
impl Clone for ConstantIndex
Source§fn clone(&self) -> ConstantIndex
fn clone(&self) -> ConstantIndex
Returns a copy 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<'de> Deserialize<'de> for ConstantIndex
impl<'de> Deserialize<'de> for ConstantIndex
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
Source§impl From<ConstantIndex> for usize
impl From<ConstantIndex> for usize
Source§fn from(idx: ConstantIndex) -> Self
fn from(idx: ConstantIndex) -> Self
Converts to this type from the input type.
Source§impl From<usize> for ConstantIndex
impl From<usize> for ConstantIndex
Source§impl Hash for ConstantIndex
impl Hash for ConstantIndex
Source§impl PartialEq for ConstantIndex
impl PartialEq for ConstantIndex
Source§impl Serialize for ConstantIndex
impl Serialize 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