Skip to main content

ScalarizableType

Trait ScalarizableType 

Source
pub trait ScalarizableType: Type {
    // Required method
    fn scalar_type(&self, ctx: &Context) -> TypeHandle;

    // Provided method
    fn verify(_op: &dyn Type, _ctx: &Context) -> Result<()>
       where Self: Sized { ... }
}

Required Methods§

Provided Methods§

Source

fn verify(_op: &dyn Type, _ctx: &Context) -> Result<()>
where Self: Sized,

Trait Implementations§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl ScalarizableType for IntegerType

Implementors§