pub enum Intrinsic {
Show 76 variants
__stop,
__add,
__sub,
__mul,
__div,
__sdiv,
__mod,
__smod,
__exp,
__not,
__lt,
__gt,
__slt,
__sgt,
__eq,
__iszero,
__and,
__or,
__xor,
__byte,
__shl,
__shr,
__sar,
__addmod,
__mulmod,
__signextend,
__keccak256,
__pc,
__pop,
__mload,
__mstore,
__mstore8,
__sload,
__sstore,
__msize,
__gas,
__address,
__balance,
__selfbalance,
__caller,
__callvalue,
__calldataload,
__calldatasize,
__calldatacopy,
__codesize,
__codecopy,
__extcodesize,
__extcodecopy,
__returndatasize,
__returndatacopy,
__extcodehash,
__create,
__create2,
__call,
__callcode,
__delegatecall,
__staticcall,
__return,
__revert,
__selfdestruct,
__invalid,
__log0,
__log1,
__log2,
__log3,
__log4,
__chainid,
__basefee,
__origin,
__gasprice,
__blockhash,
__coinbase,
__timestamp,
__number,
__prevrandao,
__gaslimit,
}
Expand description
The evm functions exposed by yul.
Variants§
__stop
__add
__sub
__mul
__div
__sdiv
__mod
__smod
__exp
__not
__lt
__gt
__slt
__sgt
__eq
__iszero
__and
__or
__xor
__byte
__shl
__shr
__sar
__addmod
__mulmod
__signextend
__keccak256
__pc
__pop
__mload
__mstore
__mstore8
__sload
__sstore
__msize
__gas
__address
__balance
__selfbalance
__caller
__callvalue
__calldataload
__calldatasize
__calldatacopy
__codesize
__codecopy
__extcodesize
__extcodecopy
__returndatasize
__returndatacopy
__extcodehash
__create
__create2
__call
__callcode
__delegatecall
__staticcall
__return
__revert
__selfdestruct
__invalid
__log0
__log1
__log2
__log3
__log4
__chainid
__basefee
__origin
__gasprice
__blockhash
__coinbase
__timestamp
__number
__prevrandao
__gaslimit
Implementations§
Trait Implementations§
Source§impl IntoEnumIterator for Intrinsic
impl IntoEnumIterator for Intrinsic
type Iterator = IntrinsicIter
fn iter() -> IntrinsicIter ⓘ
Source§impl Ord for Intrinsic
impl Ord for Intrinsic
Source§impl PartialOrd for Intrinsic
impl PartialOrd for Intrinsic
impl Copy for Intrinsic
impl Eq for Intrinsic
impl StructuralPartialEq for Intrinsic
Auto Trait Implementations§
impl Freeze for Intrinsic
impl RefUnwindSafe for Intrinsic
impl Send for Intrinsic
impl Sync for Intrinsic
impl Unpin for Intrinsic
impl UnwindSafe for Intrinsic
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.