Trait rustc_trans::middle::typeck::infer::unify::InferCtxtMethodsForSimplyUnifiableTypesExperimental [-]  [+] [src]

pub trait InferCtxtMethodsForSimplyUnifiableTypes<V: SimplyUnifiable, K: UnifyKey<Option<V>>> {
    fn simple_vars(&self, a_is_expected: bool, a_id: K, b_id: K) -> Result<(), type_err>;
    fn simple_var_t(&self, a_is_expected: bool, a_id: K, b: V) -> Result<(), type_err>;
    fn probe_var(&self, a_id: K) -> Option<t>;
}

Required Methods

fn simple_vars(&self, a_is_expected: bool, a_id: K, b_id: K) -> Result<(), type_err>

fn simple_var_t(&self, a_is_expected: bool, a_id: K, b: V) -> Result<(), type_err>

fn probe_var(&self, a_id: K) -> Option<t>

Implementors