pub struct MethodCallReferences<'a> {
pub slots: &'a [Option<u8>],
pub inputs: &'a [Option<u8>],
pub outputs: &'a [u8],
}Expand description
References of a method call to declared outputs, by position among the method’s arguments of
each kind, see TransactionPayloadBuilder::with_method_call()
Fields§
§slots: &'a [Option<u8>]Output index for each #[slot], whose value the slot gets instead of an explicit address.
None or no entry for an explicit address.
inputs: &'a [Option<u8>]Output index for each #[input], whose value the input gets instead of a value in the
payload. None or no entry for a value in the payload.
outputs: &'a [u8]Output index for each #[output] and the return value (last), which they write. Exactly
one entry for each output of the method.
Trait Implementations§
Source§impl<'a> Clone for MethodCallReferences<'a>
impl<'a> Clone for MethodCallReferences<'a>
impl<'a> Copy for MethodCallReferences<'a>
Source§impl<'a> Debug for MethodCallReferences<'a>
impl<'a> Debug for MethodCallReferences<'a>
Auto Trait Implementations§
impl<'a> Forget for MethodCallReferences<'a>
impl<'a> Freeze for MethodCallReferences<'a>
impl<'a> RefUnwindSafe for MethodCallReferences<'a>
impl<'a> Send for MethodCallReferences<'a>
impl<'a> Sync for MethodCallReferences<'a>
impl<'a> Unpin for MethodCallReferences<'a>
impl<'a> UnsafeUnpin for MethodCallReferences<'a>
impl<'a> UnwindSafe for MethodCallReferences<'a>
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<H> NewMerkleHasherForTreeSize for Hwhere
H: Default,
impl<H> NewMerkleHasherForTreeSize for Hwhere
H: Default,
§fn new_for_tree_size(_num_leaves: u64) -> H
fn new_for_tree_size(_num_leaves: u64) -> H
Create a hasher for a tree with
num_leaves leaves