Skip to main content

Expr

Trait Expr 

Source
pub trait Expr: DynClone {
    // Required methods
    fn kind(&self) -> ExprKind;
    fn expr_type(&self) -> Box<dyn DataType>;
    fn as_any(&self) -> &dyn Any;
}

Required Methods§

Source

fn kind(&self) -> ExprKind

Source

fn expr_type(&self) -> Box<dyn DataType>

Source

fn as_any(&self) -> &dyn Any

Implementations§

Source§

impl dyn Expr

Source

pub fn is_const(&self) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§