## AsCoercionSite

# Trait AsCoercionSite

Source

    pub(crate) trait AsCoercionSite {
        // Required method
        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§

Source

#### fn as_coercion_site(&self) -> &Expr<'_>

## Implementations on Foreign Types§

Source§

### impl AsCoercionSite for !

Source§

#### fn as_coercion_site(&self) -> &Expr<'_>

Source§

### impl AsCoercionSite for Arm<'_>

Source§

#### fn as_coercion_site(&self) -> &Expr<'_>

Source§

### impl AsCoercionSite for Expr<'_>

Source§

#### fn as_coercion_site(&self) -> &Expr<'_>

Source§

### impl<'a, T> AsCoercionSite for &'a T
where T: AsCoercionSite,

Source§

#### fn as_coercion_site(&self) -> &Expr<'_>

## Implementors§