pub enum PuzzleInstructionType {
Show 64 variants
Abs,
AbsWrapped,
Add,
AddWrapped,
And,
AssertEq,
AssertNeq,
BranchEq,
BranchNeq,
Cast,
CastLossy,
CommitBhp256,
CommitBhp512,
CommitBhp768,
CommitBhp1024,
CommitPed64,
CommitPed128,
Div,
DivWrapped,
Double,
Gt,
Gte,
HashBhp256,
HashBhp512,
HashBhp768,
HashBhp1024,
HashKeccak256,
HashKeccak384,
HashKeccak512,
HashPed64,
HashPed128,
HashPsd2,
HashPsd4,
HashPsd8,
HashSha3256,
HashSha3384,
HashSha3512,
Inv,
IsEq,
IsNeq,
Lt,
Lte,
Mod,
Mul,
MulWrapped,
Nand,
Neg,
Nor,
Not,
Or,
Pow,
PowWrapped,
Rem,
RemWrapped,
Shl,
ShlWrapped,
Shr,
ShrWrapped,
Sqrt,
Square,
Sub,
SubWrapped,
Ternary,
Xor,
}
Variants§
Abs
AbsWrapped
Add
AddWrapped
And
AssertEq
AssertNeq
BranchEq
BranchNeq
Cast
CastLossy
CommitBhp256
CommitBhp512
CommitBhp768
CommitBhp1024
CommitPed64
CommitPed128
Div
DivWrapped
Double
Gt
Gte
HashBhp256
HashBhp512
HashBhp768
HashBhp1024
HashKeccak256
HashKeccak384
HashKeccak512
HashPed64
HashPed128
HashPsd2
HashPsd4
HashPsd8
HashSha3256
HashSha3384
HashSha3512
Inv
IsEq
IsNeq
Lt
Lte
Mod
Mul
MulWrapped
Nand
Neg
Nor
Not
Or
Pow
PowWrapped
Rem
RemWrapped
Shl
ShlWrapped
Shr
ShrWrapped
Sqrt
Square
Sub
SubWrapped
Ternary
Xor
Implementations§
Source§impl PuzzleInstructionType
impl PuzzleInstructionType
Trait Implementations§
Source§impl Clone for PuzzleInstructionType
impl Clone for PuzzleInstructionType
Source§fn clone(&self) -> PuzzleInstructionType
fn clone(&self) -> PuzzleInstructionType
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 PuzzleInstructionType
impl Debug for PuzzleInstructionType
Source§impl Display for PuzzleInstructionType
impl Display for PuzzleInstructionType
Source§impl Hash for PuzzleInstructionType
impl Hash for PuzzleInstructionType
Source§impl PartialEq for PuzzleInstructionType
impl PartialEq for PuzzleInstructionType
impl Copy for PuzzleInstructionType
impl Eq for PuzzleInstructionType
impl StructuralPartialEq for PuzzleInstructionType
Auto Trait Implementations§
impl Freeze for PuzzleInstructionType
impl RefUnwindSafe for PuzzleInstructionType
impl Send for PuzzleInstructionType
impl Sync for PuzzleInstructionType
impl Unpin for PuzzleInstructionType
impl UnwindSafe for PuzzleInstructionType
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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