Trait rustc::middle::typeck::infer::CresCompare[src]
trait CresCompare<T> {
fn compare(&self, t: T, f: || -> type_err) -> cres<T>;
}
Required Methods
Implementors
impl<T: Clone + PartialEq> CresCompare<T> for cres<T>
trait CresCompare<T> {
fn compare(&self, t: T, f: || -> type_err) -> cres<T>;
}
impl<T: Clone + PartialEq> CresCompare<T> for cres<T>
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).