pub enum RegularParamType {
Length,
Pointer(Ptr),
Gas,
Offset,
DurationBlockNumber,
DelayBlockNumber,
Handler,
Alloc,
Free,
FreeUpperBound,
Version,
}
Expand description
Syscall regular param type.
Pointer
variant contains additional data about the type this pointer
belongs to, see Ptr
for more details.
Variants§
Length
Pointer(Ptr)
Gas
Offset
DurationBlockNumber
DelayBlockNumber
Handler
Alloc
Free
FreeUpperBound
Version
Trait Implementations§
Source§impl Clone for RegularParamType
impl Clone for RegularParamType
Source§fn clone(&self) -> RegularParamType
fn clone(&self) -> RegularParamType
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 RegularParamType
impl Debug for RegularParamType
Source§impl From<Ptr> for RegularParamType
impl From<Ptr> for RegularParamType
Source§fn from(ptr: Ptr) -> RegularParamType
fn from(ptr: Ptr) -> RegularParamType
Converts to this type from the input type.
Source§impl Hash for RegularParamType
impl Hash for RegularParamType
Source§impl Ord for RegularParamType
impl Ord for RegularParamType
Source§fn cmp(&self, other: &RegularParamType) -> Ordering
fn cmp(&self, other: &RegularParamType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RegularParamType
impl PartialEq for RegularParamType
Source§impl PartialOrd for RegularParamType
impl PartialOrd for RegularParamType
impl Copy for RegularParamType
impl Eq for RegularParamType
impl StructuralPartialEq for RegularParamType
Auto Trait Implementations§
impl Freeze for RegularParamType
impl RefUnwindSafe for RegularParamType
impl Send for RegularParamType
impl Sync for RegularParamType
impl Unpin for RegularParamType
impl UnwindSafe for RegularParamType
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