pub enum AleoStmt {
Show 58 variants
Output(AleoExpr, AleoType, Option<AleoVisibility>),
AssertEq(AleoExpr, AleoExpr),
AssertNeq(AleoExpr, AleoExpr),
Cast(AleoExpr, AleoReg, AleoType),
Abs(AleoExpr, AleoReg),
AbsW(AleoExpr, AleoReg),
Double(AleoExpr, AleoReg),
Inv(AleoExpr, AleoReg),
Not(AleoExpr, AleoReg),
Neg(AleoExpr, AleoReg),
Square(AleoExpr, AleoReg),
Sqrt(AleoExpr, AleoReg),
Ternary(AleoExpr, AleoExpr, AleoExpr, AleoReg),
Commit(CommitVariant, AleoExpr, AleoExpr, AleoReg, AleoType),
Hash(HashVariant, AleoExpr, AleoReg, AleoType),
Get(AleoExpr, AleoExpr, AleoReg),
GetOrUse(AleoExpr, AleoExpr, AleoExpr, AleoReg),
Set(AleoExpr, AleoExpr, AleoExpr),
Remove(AleoExpr, AleoExpr),
Contains(AleoExpr, AleoExpr, AleoReg),
RandChacha(AleoReg, AleoType),
SignVerify(AleoExpr, AleoExpr, AleoExpr, AleoReg),
EcdsaVerify(ECDSAVerifyVariant, AleoExpr, AleoExpr, AleoExpr, AleoReg),
Await(AleoExpr),
Serialize(SerializeVariant, AleoExpr, AleoType, AleoReg, AleoType),
Deserialize(DeserializeVariant, AleoExpr, AleoType, AleoReg, AleoType),
Call(String, Vec<AleoExpr>, Vec<AleoReg>),
Async(String, Vec<AleoExpr>, Vec<AleoReg>),
BranchEq(AleoExpr, AleoExpr, String),
Position(String),
Add(AleoExpr, AleoExpr, AleoReg),
AddWrapped(AleoExpr, AleoExpr, AleoReg),
And(AleoExpr, AleoExpr, AleoReg),
Div(AleoExpr, AleoExpr, AleoReg),
DivWrapped(AleoExpr, AleoExpr, AleoReg),
Eq(AleoExpr, AleoExpr, AleoReg),
Gte(AleoExpr, AleoExpr, AleoReg),
Gt(AleoExpr, AleoExpr, AleoReg),
Lte(AleoExpr, AleoExpr, AleoReg),
Lt(AleoExpr, AleoExpr, AleoReg),
Mod(AleoExpr, AleoExpr, AleoReg),
Mul(AleoExpr, AleoExpr, AleoReg),
MulWrapped(AleoExpr, AleoExpr, AleoReg),
Nand(AleoExpr, AleoExpr, AleoReg),
Neq(AleoExpr, AleoExpr, AleoReg),
Nor(AleoExpr, AleoExpr, AleoReg),
Or(AleoExpr, AleoExpr, AleoReg),
Pow(AleoExpr, AleoExpr, AleoReg),
PowWrapped(AleoExpr, AleoExpr, AleoReg),
Rem(AleoExpr, AleoExpr, AleoReg),
RemWrapped(AleoExpr, AleoExpr, AleoReg),
Shl(AleoExpr, AleoExpr, AleoReg),
ShlWrapped(AleoExpr, AleoExpr, AleoReg),
Shr(AleoExpr, AleoExpr, AleoReg),
ShrWrapped(AleoExpr, AleoExpr, AleoReg),
Sub(AleoExpr, AleoExpr, AleoReg),
SubWrapped(AleoExpr, AleoExpr, AleoReg),
Xor(AleoExpr, AleoExpr, AleoReg),
}Variants§
Output(AleoExpr, AleoType, Option<AleoVisibility>)
AssertEq(AleoExpr, AleoExpr)
AssertNeq(AleoExpr, AleoExpr)
Cast(AleoExpr, AleoReg, AleoType)
Abs(AleoExpr, AleoReg)
AbsW(AleoExpr, AleoReg)
Double(AleoExpr, AleoReg)
Inv(AleoExpr, AleoReg)
Not(AleoExpr, AleoReg)
Neg(AleoExpr, AleoReg)
Square(AleoExpr, AleoReg)
Sqrt(AleoExpr, AleoReg)
Ternary(AleoExpr, AleoExpr, AleoExpr, AleoReg)
Commit(CommitVariant, AleoExpr, AleoExpr, AleoReg, AleoType)
Hash(HashVariant, AleoExpr, AleoReg, AleoType)
Get(AleoExpr, AleoExpr, AleoReg)
GetOrUse(AleoExpr, AleoExpr, AleoExpr, AleoReg)
Set(AleoExpr, AleoExpr, AleoExpr)
Remove(AleoExpr, AleoExpr)
Contains(AleoExpr, AleoExpr, AleoReg)
RandChacha(AleoReg, AleoType)
SignVerify(AleoExpr, AleoExpr, AleoExpr, AleoReg)
EcdsaVerify(ECDSAVerifyVariant, AleoExpr, AleoExpr, AleoExpr, AleoReg)
Await(AleoExpr)
Serialize(SerializeVariant, AleoExpr, AleoType, AleoReg, AleoType)
Deserialize(DeserializeVariant, AleoExpr, AleoType, AleoReg, AleoType)
Call(String, Vec<AleoExpr>, Vec<AleoReg>)
Async(String, Vec<AleoExpr>, Vec<AleoReg>)
BranchEq(AleoExpr, AleoExpr, String)
Position(String)
Add(AleoExpr, AleoExpr, AleoReg)
AddWrapped(AleoExpr, AleoExpr, AleoReg)
And(AleoExpr, AleoExpr, AleoReg)
Div(AleoExpr, AleoExpr, AleoReg)
DivWrapped(AleoExpr, AleoExpr, AleoReg)
Eq(AleoExpr, AleoExpr, AleoReg)
Gte(AleoExpr, AleoExpr, AleoReg)
Gt(AleoExpr, AleoExpr, AleoReg)
Lte(AleoExpr, AleoExpr, AleoReg)
Lt(AleoExpr, AleoExpr, AleoReg)
Mod(AleoExpr, AleoExpr, AleoReg)
Mul(AleoExpr, AleoExpr, AleoReg)
MulWrapped(AleoExpr, AleoExpr, AleoReg)
Nand(AleoExpr, AleoExpr, AleoReg)
Neq(AleoExpr, AleoExpr, AleoReg)
Nor(AleoExpr, AleoExpr, AleoReg)
Or(AleoExpr, AleoExpr, AleoReg)
Pow(AleoExpr, AleoExpr, AleoReg)
PowWrapped(AleoExpr, AleoExpr, AleoReg)
Rem(AleoExpr, AleoExpr, AleoReg)
RemWrapped(AleoExpr, AleoExpr, AleoReg)
Shl(AleoExpr, AleoExpr, AleoReg)
ShlWrapped(AleoExpr, AleoExpr, AleoReg)
Shr(AleoExpr, AleoExpr, AleoReg)
ShrWrapped(AleoExpr, AleoExpr, AleoReg)
Sub(AleoExpr, AleoExpr, AleoReg)
SubWrapped(AleoExpr, AleoExpr, AleoReg)
Xor(AleoExpr, AleoExpr, AleoReg)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AleoStmt
impl RefUnwindSafe for AleoStmt
impl Send for AleoStmt
impl Sync for AleoStmt
impl Unpin for AleoStmt
impl UnwindSafe for AleoStmt
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ToSmolStr for T
impl<T> ToSmolStr for T
fn to_smolstr(&self) -> SmolStr
§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.