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
Adds a usize to a RowIndex.
impl Add<usize> for RowIndex
Adds a usize to a RowIndex.
Source§impl AddAssign<usize> for RowIndex
Adds a usize value to a RowIndex in place.
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
Converts an i32 value into a RowIndex.
impl From<i32> for RowIndex
Converts an i32 value into a RowIndex.
§Panics
This function will panic if the number represented by the i32 is less than 0.
Source§impl From<usize> for RowIndex
Converts a usize value into a RowIndex.
impl From<usize> for RowIndex
Converts a usize value into a 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
Subtracts a usize from a RowIndex.
impl Sub<usize> for RowIndex
Subtracts a usize from a 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
Converts a u64 value into a RowIndex.
impl TryFrom<u64> for RowIndex
Converts a u64 value into a 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