pub enum ItemSigKind<'a> {
    CoreModule(CoreTypeUse<'a, ModuleType<'a>>),
    Func(ComponentTypeUse<'a, ComponentFunctionType<'a>>),
    Component(ComponentTypeUse<'a, ComponentType<'a>>),
    Instance(ComponentTypeUse<'a, InstanceType<'a>>),
    Value(ComponentValTypeUse<'a>),
    Type(TypeBounds<'a>),
}
Expand description

The kind of signatures for imported items.

Variants

CoreModule(CoreTypeUse<'a, ModuleType<'a>>)

The item signature is for a core module.

Func(ComponentTypeUse<'a, ComponentFunctionType<'a>>)

The item signature is for a function.

Component(ComponentTypeUse<'a, ComponentType<'a>>)

The item signature is for a component.

Instance(ComponentTypeUse<'a, InstanceType<'a>>)

The item signature is for an instance.

Value(ComponentValTypeUse<'a>)

The item signature is for a value.

Type(TypeBounds<'a>)

The item signature is for a type.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.