Skip to main content

TypeResolutionContext

Trait TypeResolutionContext 

Source
pub trait TypeResolutionContext {
    // Required method
    fn property_ty(&self, _: &PropertyReference) -> &Type;

    // Provided method
    fn arg_type(&self, _index: usize) -> &Type { ... }
}

Required Methods§

Provided Methods§

Source

fn arg_type(&self, _index: usize) -> &Type

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§