pub struct RefInt(pub usize);
Expand description
A reference to the i32 constant pool
Tuple Fields§
§0: usize
Implementations§
Source§impl RefInt
impl RefInt
pub fn display_fmt<'a, Fmt: BytecodeFmt + 'a>( &'a self, bcfmt: Fmt, ctx: &'a Bytecode, ) -> impl Display + 'a
pub fn display<'a, Fmt: BytecodeFmt + Default + 'a>( &'a self, ctx: &'a Bytecode, ) -> impl Display + 'a
Trait Implementations§
impl Copy for RefInt
impl Eq for RefInt
impl StructuralPartialEq for RefInt
Auto Trait Implementations§
impl Freeze for RefInt
impl RefUnwindSafe for RefInt
impl Send for RefInt
impl Sync for RefInt
impl Unpin for RefInt
impl UnwindSafe for RefInt
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.