pub trait GetType {
// Required method
fn get_ty(&self) -> Result<Type, String>;
}Expand description
Extract the underlying Type from various AST types.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".