pub enum Ptr {
Show 15 variants
SizedBufferStart {
length_param_idx: usize,
},
Hash(HashType),
Value,
HashWithValue(HashType),
TwoHashes(HashType, HashType),
TwoHashesWithValue(HashType, HashType),
MutBlockNumber,
MutBlockTimestamp,
MutSizedBufferStart {
length_param_idx: usize,
},
MutBufferStart,
MutHash(HashType),
MutGas,
MutLength,
MutValue,
MutBlockNumberWithHash(HashType),
}
Expand description
Pointer type.
Variants§
SizedBufferStart
Hash(HashType)
Value
HashWithValue(HashType)
TwoHashes(HashType, HashType)
TwoHashesWithValue(HashType, HashType)
MutBlockNumber
MutBlockTimestamp
MutSizedBufferStart
MutBufferStart
MutHash(HashType)
MutGas
MutLength
MutValue
MutBlockNumberWithHash(HashType)
Implementations§
Trait Implementations§
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 Ord for Ptr
impl Ord for Ptr
Source§impl PartialOrd for Ptr
impl PartialOrd for Ptr
impl Copy for Ptr
impl Eq for Ptr
impl StructuralPartialEq for Ptr
Auto Trait Implementations§
impl Freeze for Ptr
impl RefUnwindSafe for Ptr
impl Send for Ptr
impl Sync for Ptr
impl Unpin for Ptr
impl UnwindSafe for Ptr
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