Trait rustc_typeck::check::coercion::AsCoercionSite[][src]

pub trait AsCoercionSite {
    fn as_coercion_site(&self) -> &Expr<'_>;
}
Expand description

Something that can be converted into an expression to which we can apply a coercion.

Required methods

Implementations on Foreign Types

Implementors