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

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

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

Required methods

pub fn as_coercion_site(&self) -> &Expr<'_>[src]

Loading content...

Implementations on Foreign Types

impl<'_> AsCoercionSite for Expr<'_>[src]

impl<'a, T> AsCoercionSite for &'a T where
    T: AsCoercionSite, 
[src]

impl AsCoercionSite for ![src]

impl<'_> AsCoercionSite for Arm<'_>[src]

Loading content...

Implementors

Loading content...