pub trait TyExt {
// Required method
fn to_type_expr(&self) -> TypeExpr;
}Expand description
Parser-side extension methods on Ty and BuiltinSignature that
depend on the parser’s owned AST types (kept out of harn-builtin-meta
so that crate stays dep-free).
Required Methods§
Sourcefn to_type_expr(&self) -> TypeExpr
fn to_type_expr(&self) -> TypeExpr
Materialize as a runtime TypeExpr.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".