Enum clarity_repl::clarity::functions::NativeFunctions[][src]

pub enum NativeFunctions {
    Add,
    Subtract,
    Multiply,
    Divide,
    CmpGeq,
    CmpLeq,
    CmpLess,
    CmpGreater,
    ToInt,
    ToUInt,
    Modulo,
    Power,
    Sqrti,
    Log2,
    BitwiseXOR,
    And,
    Or,
    Not,
    Equals,
    If,
    Let,
    Map,
    Fold,
    Append,
    Concat,
    AsMaxLen,
    Len,
    ElementAt,
    IndexOf,
    ListCons,
    FetchVar,
    SetVar,
    FetchEntry,
    SetEntry,
    InsertEntry,
    DeleteEntry,
    TupleCons,
    TupleGet,
    TupleMerge,
    Begin,
    Hash160,
    Sha256,
    Sha512,
    Sha512Trunc256,
    Keccak256,
    Secp256k1Recover,
    Secp256k1Verify,
    Print,
    ContractCall,
    AsContract,
    ContractOf,
    PrincipalOf,
    AtBlock,
    GetBlockInfo,
    ConsError,
    ConsOkay,
    ConsSome,
    DefaultTo,
    Asserts,
    UnwrapRet,
    UnwrapErrRet,
    Unwrap,
    UnwrapErr,
    Match,
    TryRet,
    IsOkay,
    IsNone,
    IsErr,
    IsSome,
    Filter,
    GetTokenBalance,
    GetAssetOwner,
    TransferToken,
    TransferAsset,
    MintAsset,
    MintToken,
    GetTokenSupply,
    BurnToken,
    BurnAsset,
    GetStxBalance,
    StxTransfer,
    StxBurn,
}

Variants

Add
Subtract
Multiply
Divide
CmpGeq
CmpLeq
CmpLess
CmpGreater
ToInt
ToUInt
Modulo
Power
Sqrti
Log2
BitwiseXOR
And
Or
Not
Equals
If
Let
Map
Fold
Append
Concat
AsMaxLen
Len
ElementAt
IndexOf
ListCons
FetchVar
SetVar
FetchEntry
SetEntry
InsertEntry
DeleteEntry
TupleCons
TupleGet
TupleMerge
Begin
Hash160
Sha256
Sha512
Sha512Trunc256
Keccak256
Secp256k1Recover
Secp256k1Verify
Print
ContractCall
AsContract
ContractOf
PrincipalOf
AtBlock
GetBlockInfo
ConsError
ConsOkay
ConsSome
DefaultTo
Asserts
UnwrapRet
UnwrapErrRet
Unwrap
UnwrapErr
Match
TryRet
IsOkay
IsNone
IsErr
IsSome
Filter
GetTokenBalance
GetAssetOwner
TransferToken
TransferAsset
MintAsset
MintToken
GetTokenSupply
BurnToken
BurnAsset
GetStxBalance
StxTransfer
StxBurn

Implementations

impl NativeFunctions[src]

pub const ALL: &'static [NativeFunctions][src]

pub const ALL_NAMES: &'static [&'static str][src]

pub fn lookup_by_name(name: &str) -> Option<Self>[src]

pub fn get_name(&self) -> String[src]

Trait Implementations

impl Clone for NativeFunctions[src]

impl Copy for NativeFunctions[src]

impl Debug for NativeFunctions[src]

impl<'de> Deserialize<'de> for NativeFunctions[src]

impl Eq for NativeFunctions[src]

impl Hash for NativeFunctions[src]

impl PartialEq<NativeFunctions> for NativeFunctions[src]

impl Serialize for NativeFunctions[src]

impl StructuralEq for NativeFunctions[src]

impl StructuralPartialEq for NativeFunctions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,