pub enum InvocationKind<'a> {
Method {
address: &'a ManifestGlobalAddress,
module_id: ModuleId,
method: &'a str,
},
Function {
address: &'a ManifestPackageAddress,
blueprint: &'a str,
function: &'a str,
},
DirectMethod {
address: &'a InternalAddress,
method: &'a str,
},
YieldToParent,
YieldToChild {
child_index: ManifestNamedIntent,
},
}
Variants§
Trait Implementations§
Source§impl<'a> Clone for InvocationKind<'a>
impl<'a> Clone for InvocationKind<'a>
Source§fn clone(&self) -> InvocationKind<'a>
fn clone(&self) -> InvocationKind<'a>
Returns a duplicate 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<'a> Debug for InvocationKind<'a>
impl<'a> Debug for InvocationKind<'a>
Source§impl<'a> From<InvocationKind<'a>> for OwnedInvocationKind
impl<'a> From<InvocationKind<'a>> for OwnedInvocationKind
Source§fn from(value: InvocationKind<'a>) -> Self
fn from(value: InvocationKind<'a>) -> Self
Converts to this type from the input type.
impl<'a> Copy for InvocationKind<'a>
Auto Trait Implementations§
impl<'a> Freeze for InvocationKind<'a>
impl<'a> RefUnwindSafe for InvocationKind<'a>
impl<'a> Send for InvocationKind<'a>
impl<'a> Sync for InvocationKind<'a>
impl<'a> Unpin for InvocationKind<'a>
impl<'a> UnwindSafe for InvocationKind<'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