Struct rustc::middle::typeck::infer::coercion::Coerce[src]
pub struct Coerce<'f>(pub CombineFields<'f>);
pub struct Coerce<'f>(pub CombineFields<'f>);
impl<'f> Coerce<'f>fn get_ref<'a>(&'a self) -> &'a CombineFields<'f>fn tys(&self, a: t, b: t) -> CoerceResultfn subtype(&self, a: t, b: t) -> CoerceResultfn unpack_actual_value(&self, a: t, f: |&sty| -> CoerceResult) -> CoerceResultfn coerce_borrowed_pointer(&self, a: t, sty_a: &sty, b: t, mt_b: mt) -> CoerceResultfn coerce_borrowed_string(&self, a: t, sty_a: &sty, b: t) -> CoerceResultfn coerce_borrowed_vector(&self, a: t, sty_a: &sty, b: t, mutbl_b: Mutability) -> CoerceResultfn coerce_borrowed_fn(&self, a: t, sty_a: &sty, b: t) -> CoerceResultfn coerce_unsafe_ptr(&self, a: t, sty_a: &sty, b: t, mt_b: mt) -> CoerceResultfn coerce_object(&self, a: t, sty_a: &sty, b: t, trait_def_id: DefId, trait_substs: &Substs, trait_store: TraitStore, bounds: BuiltinBounds) -> CoerceResult
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).