Struct triton_vm::table::u32_table::U32TableEntry
source · pub struct U32TableEntry {
pub instruction: Instruction,
pub left_operand: BFieldElement,
pub right_operand: BFieldElement,
}Expand description
An executed u32 instruction as well as its operands.
Fields§
§instruction: Instruction§left_operand: BFieldElement§right_operand: BFieldElementImplementations§
source§impl U32TableEntry
impl U32TableEntry
pub fn new<L, R>( instruction: Instruction, left_operand: L, right_operand: R ) -> Self
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for U32TableEntry
impl<'arbitrary> Arbitrary<'arbitrary> for U32TableEntry
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self from the entirety of the given
unstructured data. Read moresource§impl Clone for U32TableEntry
impl Clone for U32TableEntry
source§fn clone(&self) -> U32TableEntry
fn clone(&self) -> U32TableEntry
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 U32TableEntry
impl Debug for U32TableEntry
source§impl Hash for U32TableEntry
impl Hash for U32TableEntry
source§impl PartialEq for U32TableEntry
impl PartialEq for U32TableEntry
source§fn eq(&self, other: &U32TableEntry) -> bool
fn eq(&self, other: &U32TableEntry) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for U32TableEntry
impl Eq for U32TableEntry
impl StructuralPartialEq for U32TableEntry
Auto Trait Implementations§
impl Freeze for U32TableEntry
impl RefUnwindSafe for U32TableEntry
impl Send for U32TableEntry
impl Sync for U32TableEntry
impl Unpin for U32TableEntry
impl UnwindSafe for U32TableEntry
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more