pub trait ExpressionInfo:
Debug
+ Sync
+ Send {
// Required method
fn return_type(&self) -> DataType;
// Provided method
fn input_ref_index(&self) -> Option<usize> { ... }
}Expand description
Common metadata of an expression.
Required Methods§
Sourcefn return_type(&self) -> DataType
fn return_type(&self) -> DataType
Get the return data type.
Provided Methods§
Sourcefn input_ref_index(&self) -> Option<usize>
fn input_ref_index(&self) -> Option<usize>
Get the index if the expression is an InputRef.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".