Struct miden_processor::RowIndex
source · pub struct RowIndex(/* private fields */);
Expand description
A newtype wrapper around a usize value representing a step in the execution trace.
Implementations§
Trait Implementations§
source§impl Add<usize> for RowIndex
impl Add<usize> for RowIndex
source§impl AddAssign<usize> for RowIndex
impl AddAssign<usize> for RowIndex
Adds a usize value to a RowIndex in place.
§Panics
This function will panic if the number represented by the usize is greater than the maximum
RowIndex
value, u32::MAX
.
source§fn add_assign(&mut self, rhs: usize)
fn add_assign(&mut self, rhs: usize)
Performs the
+=
operation. Read moresource§impl From<RowIndex> for BaseElement
impl From<RowIndex> for BaseElement
source§fn from(step: RowIndex) -> BaseElement
fn from(step: RowIndex) -> BaseElement
Converts to this type from the input type.
source§impl From<i32> for RowIndex
impl From<i32> for RowIndex
source§impl From<usize> for RowIndex
impl From<usize> for RowIndex
source§impl Ord for RowIndex
impl Ord for RowIndex
source§impl PartialOrd<usize> for RowIndex
impl PartialOrd<usize> for RowIndex
source§impl PartialOrd for RowIndex
impl PartialOrd for RowIndex
source§impl RangeBounds<RowIndex> for RowIndex
impl RangeBounds<RowIndex> for RowIndex
source§impl Sub<usize> for RowIndex
impl Sub<usize> for RowIndex
source§impl SubAssign<u32> for RowIndex
impl SubAssign<u32> for RowIndex
source§fn sub_assign(&mut self, rhs: u32)
fn sub_assign(&mut self, rhs: u32)
Performs the
-=
operation. Read moresource§impl TryFrom<u64> for RowIndex
impl TryFrom<u64> for RowIndex
impl Copy for RowIndex
impl Eq for RowIndex
Auto Trait Implementations§
impl Freeze for RowIndex
impl RefUnwindSafe for RowIndex
impl Send for RowIndex
impl Sync for RowIndex
impl Unpin for RowIndex
impl UnwindSafe for RowIndex
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)