Struct rustc::middle::infer::glb::GlbUnstable
[-] [+]
[src]
pub struct Glb<'a, 'tcx> {
// some fields omitted
}"Greatest lower bound" (common subtype)
pub struct Glb<'a, 'tcx> {
// some fields omitted
}"Greatest lower bound" (common subtype)
impl<'a, 'tcx> Glb<'a, 'tcx>fn new(fields: CombineFields<'a, 'tcx>) -> Glb<'a, 'tcx>impl<'a, 'tcx> TypeRelation<'a, 'tcx> for Glb<'a, 'tcx>fn tag(&self) -> &'static strfn tcx(&self) -> &'a ctxt<'tcx>fn a_is_expected(&self) -> boolfn relate_with_variance<T: Relate<'a, 'tcx>>(&mut self, variance: Variance, a: &T, b: &T) -> RelateResult<'tcx, T>fn tys(&mut self, a: Ty<'tcx>, b: Ty<'tcx>) -> RelateResult<'tcx, Ty<'tcx>>fn regions(&mut self, a: Region, b: Region) -> RelateResult<'tcx, Region>fn binders<T>(&mut self, a: &Binder<T>, b: &Binder<T>) -> RelateResult<'tcx, Binder<T>> where T: Relate<'a, 'tcx>fn relate<T: Relate<'a, 'tcx>>(&mut self, a: &T, b: &T) -> RelateResult<'tcx, T>impl<'a, 'tcx> LatticeDir<'a, 'tcx> for Glb<'a, 'tcx>fn infcx(&self) -> &'a InferCtxt<'a, 'tcx>fn relate_bound(&self, v: Ty<'tcx>, a: Ty<'tcx>, b: Ty<'tcx>) -> RelateResult<'tcx, ()>
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, enum,
trait, typedef (or
tdef).