pub trait HasDef: MakeExtensionOp {
type Def: HasConcrete<Concrete = Self> + FromStr;
// Provided method
fn from_op(custom_op: &CustomOp) -> Result<Self, OpLoadError>
where Self: Sized { ... }
}
Expand description
MakeExtensionOp with an associated HasConcrete.
Required Associated Types§
sourcetype Def: HasConcrete<Concrete = Self> + FromStr
type Def: HasConcrete<Concrete = Self> + FromStr
Associated HasConcrete type.