pub enum InstanceCreationNode {
WitWorker {
component_info: Option<ComponentDependencyKey>,
worker_name: Option<ExprId>,
},
WitResource {
component_info: Option<ComponentDependencyKey>,
module: Option<InstanceIdentifierNode>,
resource_name: FullyQualifiedResourceConstructor,
},
}Variants§
WitWorker
WitResource
Fields
§
component_info: Option<ComponentDependencyKey>§
module: Option<InstanceIdentifierNode>§
resource_name: FullyQualifiedResourceConstructorTrait Implementations§
Source§impl Clone for InstanceCreationNode
impl Clone for InstanceCreationNode
Source§fn clone(&self) -> InstanceCreationNode
fn clone(&self) -> InstanceCreationNode
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 moreAuto Trait Implementations§
impl Freeze for InstanceCreationNode
impl RefUnwindSafe for InstanceCreationNode
impl Send for InstanceCreationNode
impl Sync for InstanceCreationNode
impl Unpin for InstanceCreationNode
impl UnsafeUnpin for InstanceCreationNode
impl UnwindSafe for InstanceCreationNode
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