#[repr(transparent)]pub struct CodeIdx(pub usize);
Expand description
Index of an instruction in the current code chunk.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl AddAssign<usize> for CodeIdx
impl AddAssign<usize> for CodeIdx
source§fn add_assign(&mut self, rhs: usize)
fn add_assign(&mut self, rhs: usize)
Performs the
+=
operation. Read moreimpl Copy for CodeIdx
Auto Trait Implementations§
impl Freeze for CodeIdx
impl RefUnwindSafe for CodeIdx
impl Send for CodeIdx
impl Sync for CodeIdx
impl Unpin for CodeIdx
impl UnwindSafe for CodeIdx
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