Expand description
A trait that enum for op definitions that gathers up some shared functionality.
Structs§
- Registered
Op - Wrap an MakeExtensionOp with an extension registry to allow type computation. Generate from MakeExtensionOp::to_registered
Enums§
- OpLoad
Error - Error loading operation.
Traits§
- HasConcrete
- MakeOpDef with an associate concrete Op type which can be instantiated with type arguments.
- HasDef
- MakeExtensionOp with an associated HasConcrete.
- Make
Extension Op - Traits implemented by types which can be loaded from
ExtensionOp
s, i.e. concrete instances ofOpDef
s, with defined type arguments. - Make
OpDef - Traits implemented by types which can add themselves to
Extension
s asOpDef
s or load themselves from anOpDef
. - Make
Registered Op - Trait for operations that can self report the extension ID they belong to
and the registry required to compute their types.
Allows conversion to
ExtensionOp
Functions§
- try_
from_ name - Load an MakeOpDef from its name. See strum_macros::EnumString.