[−][src]Type Definition gluon_check::unify_type::UnifierState
type UnifierState<'a, U> = UnifierState<State<'a>, U>;
Trait Implementations
impl<'a, 'e> Unifier<State<'a>, ArcType<Symbol>> for UnifierState<'a, Subsume<'e>>
[src]
fn report_error(&mut self, error: UnifyError<TypeError<Symbol, RcType>, RcType>)
[src]
fn allow_returned_type_replacement(&self) -> bool
[src]
fn try_match_res(
&mut self,
l: &RcType,
r: &RcType
) -> Result<Option<RcType>, UnifyError<TypeError<Symbol, RcType>, RcType>>
[src]
&mut self,
l: &RcType,
r: &RcType
) -> Result<Option<RcType>, UnifyError<TypeError<Symbol, RcType>, RcType>>
fn error_type(&self) -> RcType
[src]
fn try_match(&mut self, l: &Type, r: &Type) -> Option<Type>
[src]
Attempt to unify l
and r
using the strategy of Self
.
impl<'a, 'e> Unifier<State<'a>, ArcType<Symbol>> for UnifierState<'a, Equal<'e>>
[src]
fn report_error(&mut self, error: UnifyError<TypeError<Symbol, RcType>, RcType>)
[src]
fn try_match_res(
&mut self,
l: &RcType,
r: &RcType
) -> Result<Option<RcType>, UnifyError<TypeError<Symbol, RcType>, RcType>>
[src]
&mut self,
l: &RcType,
r: &RcType
) -> Result<Option<RcType>, UnifyError<TypeError<Symbol, RcType>, RcType>>
fn error_type(&self) -> RcType
[src]
fn try_match(&mut self, l: &Type, r: &Type) -> Option<Type>
[src]
Attempt to unify l
and r
using the strategy of Self
.
fn allow_returned_type_replacement(&self) -> bool
[src]
true
if the returned type can be replaced by the caller
impl<'a, 'e> Unifier<State<'a>, ArcType<Symbol>> for UnifierState<'a, Smaller>
[src]
fn report_error(&mut self, error: UnifyError<TypeError<Symbol, RcType>, RcType>)
[src]
fn try_match_res(
&mut self,
l: &RcType,
r: &RcType
) -> Result<Option<RcType>, UnifyError<TypeError<Symbol, RcType>, RcType>>
[src]
&mut self,
l: &RcType,
r: &RcType
) -> Result<Option<RcType>, UnifyError<TypeError<Symbol, RcType>, RcType>>
fn error_type(&self) -> RcType
[src]
fn try_match(&mut self, l: &Type, r: &Type) -> Option<Type>
[src]
Attempt to unify l
and r
using the strategy of Self
.
fn allow_returned_type_replacement(&self) -> bool
[src]
true
if the returned type can be replaced by the caller