pub trait AstTypes: AstNode {
type Annotation: AstNode + Copy;
type Literal: AstNode;
type MacroId: AstNode + Hash + AsRef<str>;
type Symbol: AstNode + Copy + Hash;
type Path: AstNode;
}Required Associated Types§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.