Skip to main content

IndexableType

Trait IndexableType 

Source
pub trait IndexableType: Type {
    // Required method
    fn indexed_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".

Implementors§