[−][src]Enum solana_libra_ir_to_bytecode_syntax::ast::Builtin
Builtin "function"-like operators that often have a signature not expressable in the type system and/or have access to some runtime/storage context
Variants
Release
Intentionally destroy a resource (i.e., the inverse of new
).
Exists(StructName)
Check if there is a struct object (StructName
resolved by current module) associated with
the given address
BorrowGlobal(StructName)
Get the struct object (StructName
resolved by current module) associated with the given
address
GetHeight
Returns the height of the current transaction.
GetTxnGasUnitPrice
Returns the price per gas unit the current transaction is willing to pay
GetTxnMaxGasUnits
Returns the maximum units of gas the current transaction is willing to use
GetTxnPublicKey
Returns the public key of the current transaction's sender
GetTxnSender
Returns the address of the current transaction's sender
GetTxnSequenceNumber
Returns the sequence number of the current transaction.
GetGasRemaining
Returns the unit of gas remain to be used for now.
EmitEvent
Emit an event
CreateAccount
Publishing, Initialize a previously empty address by publishing a resource of type Account
MoveFrom(StructName)
Remove a resource of the given type from the account with the given address
MoveToSender(StructName)
Publish an instantiated struct object into sender's account.
Freeze
Convert a mutable reference into an immutable one
Trait Implementations
impl Clone for Builtin
[src]
fn clone(&self) -> Builtin
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Builtin> for Builtin
[src]
impl Display for Builtin
[src]
impl Debug for Builtin
[src]
Auto Trait Implementations
impl Sync for Builtin
impl Send for Builtin
impl Unpin for Builtin
impl RefUnwindSafe for Builtin
impl UnwindSafe for Builtin
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Erased for T
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,