pub enum CallTypeNode {
Function {
component_info: Option<ComponentDependencyKey>,
instance_identifier: Option<InstanceIdentifierNode>,
function_name: DynamicParsedFunctionName,
},
VariantConstructor(String),
EnumConstructor(String),
InstanceCreation(InstanceCreationNode),
}Expand description
Arena-friendly version of CallType.
InstanceIdentifier embeds Option<Box<Expr>> for the worker name;
we replace that with Option<ExprId>.
Variants§
Function
Fields
§
component_info: Option<ComponentDependencyKey>§
instance_identifier: Option<InstanceIdentifierNode>§
function_name: DynamicParsedFunctionNameVariantConstructor(String)
EnumConstructor(String)
InstanceCreation(InstanceCreationNode)
Implementations§
Source§impl CallTypeNode
impl CallTypeNode
Sourcepub fn is_resource_method(&self) -> bool
pub fn is_resource_method(&self) -> bool
Same notion as crate::CallType::is_resource_method, without lowering to crate::CallType.
Trait Implementations§
Source§impl Clone for CallTypeNode
impl Clone for CallTypeNode
Source§fn clone(&self) -> CallTypeNode
fn clone(&self) -> CallTypeNode
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 Debug for CallTypeNode
impl Debug for CallTypeNode
Auto Trait Implementations§
impl Freeze for CallTypeNode
impl RefUnwindSafe for CallTypeNode
impl Send for CallTypeNode
impl Sync for CallTypeNode
impl Unpin for CallTypeNode
impl UnsafeUnpin for CallTypeNode
impl UnwindSafe for CallTypeNode
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