pub enum Op {
    Stack(Stack),
    Pred(Pred),
    Alu(Alu),
    Access(Access),
    Crypto(Crypto),
    TotalControlFlow(TotalControlFlow),
    Temporary(Temporary),
}Expand description
All operations available to the constraint checker.
Note that this is a subset of the operations available to state read execution.
Variants§
Stack(Stack)
Operations related to stack manipulation.
Pred(Pred)
Operations for computing predicates.
Alu(Alu)
Operations for computing arithmetic and logic.
Access(Access)
Operations for accessing input data.
Crypto(Crypto)
Operations providing cryptographic functionality.
TotalControlFlow(TotalControlFlow)
Control flow operations that keep the program total.
Temporary(Temporary)
Operations for temporary memory.
Trait Implementations§
Source§impl Clone for Constraint
 
impl Clone for Constraint
Source§fn clone(&self) -> Constraint
 
fn clone(&self) -> Constraint
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 Constraint
 
impl Debug for Constraint
Source§impl From<Access> for Constraint
 
impl From<Access> for Constraint
Source§impl From<Alu> for Constraint
 
impl From<Alu> for Constraint
Source§impl From<Crypto> for Constraint
 
impl From<Crypto> for Constraint
Source§impl From<Pred> for Constraint
 
impl From<Pred> for Constraint
Source§impl From<Stack> for Constraint
 
impl From<Stack> for Constraint
Source§impl From<Temporary> for Constraint
 
impl From<Temporary> for Constraint
Source§impl From<TotalControlFlow> for Constraint
 
impl From<TotalControlFlow> for Constraint
Source§fn from(subgroup: TotalControlFlow) -> Self
 
fn from(subgroup: TotalControlFlow) -> Self
Converts to this type from the input type.
Source§impl Hash for Constraint
 
impl Hash for Constraint
Source§impl Ord for Constraint
 
impl Ord for Constraint
Source§fn cmp(&self, other: &Constraint) -> Ordering
 
fn cmp(&self, other: &Constraint) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Constraint
 
impl PartialEq for Constraint
Source§impl PartialOrd for Constraint
 
impl PartialOrd for Constraint
Source§impl ToBytes for Constraint
 
impl ToBytes for Constraint
Source§impl ToOpcode for Constraint
 
impl ToOpcode for Constraint
Source§impl TryFromBytes for Constraint
 
impl TryFromBytes for Constraint
impl Copy for Constraint
impl Eq for Constraint
impl StructuralPartialEq for Constraint
Auto Trait Implementations§
impl Freeze for Constraint
impl RefUnwindSafe for Constraint
impl Send for Constraint
impl Sync for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
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)