Type Alias erg_compiler::ty::free::FreeTyVar

source ·
pub type FreeTyVar = Free<Type>;

Aliased Type§

struct FreeTyVar(/* private fields */);

Trait Implementations§

source§

impl<'t> TryFrom<&'t TyParam> for &'t FreeTyVar

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(t: &'t TyParam) -> Result<&'t FreeTyVar, ()>

Performs the conversion.
source§

impl<'t> TryFrom<&'t Type> for &'t FreeTyVar

§

type Error = ()

The type returned in the event of a conversion error.
source§

fn try_from(t: &'t Type) -> Result<&'t FreeTyVar, ()>

Performs the conversion.