Skip to main content

DataTypeToAst

Trait DataTypeToAst 

Source
pub trait DataTypeToAst {
    // Required method
    fn to_ast(&self) -> AstDataType;
}

Required Methods§

Source

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".

Implementations on Foreign Types§

Source§

impl DataTypeToAst for DataType

Implementors§