pub trait DataTypeToAst {
// Required method
fn to_ast(&self) -> AstDataType;
}Required Methods§
Sourcefn to_ast(&self) -> AstDataType
fn to_ast(&self) -> AstDataType
Convert the data type to its AST representation.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".