Type Alias HugrFuncType

Source
pub type HugrFuncType = Signature;
Expand description

A type alias for a hugr function type. We use this to disambiguate from the LLVM FunctionType.

Aliased Type§

struct HugrFuncType {
    pub input: TypeRowBase<NoRV>,
    pub output: TypeRowBase<NoRV>,
    pub runtime_reqs: ExtensionSet,
}

Fields§

§input: TypeRowBase<NoRV>

Value inputs of the function.

§output: TypeRowBase<NoRV>

Value outputs of the function.

§runtime_reqs: ExtensionSet

The extensions the function specifies as required at runtime.