Struct rustc_infer::infer::at::Trace [−][src]
Fields
at: At<'a, 'tcx>a_is_expected: booltrace: TypeTrace<'tcx>Implementations
impl<'a, 'tcx> Trace<'a, 'tcx>[src]
impl<'a, 'tcx> Trace<'a, 'tcx>[src]pub fn sub<T>(self, a: T, b: T) -> InferResult<'tcx, ()> where
T: Relate<'tcx>, [src]
pub fn sub<T>(self, a: T, b: T) -> InferResult<'tcx, ()> where
T: Relate<'tcx>, [src]Makes a <: b where a may or may not be expected (if
a_is_expected is true, then a is expected).
pub fn eq<T>(self, a: T, b: T) -> InferResult<'tcx, ()> where
T: Relate<'tcx>, [src]
pub fn eq<T>(self, a: T, b: T) -> InferResult<'tcx, ()> where
T: Relate<'tcx>, [src]Makes a == b; the expectation is set by the call to
trace().
pub fn lub<T>(self, a: T, b: T) -> InferResult<'tcx, T> where
T: Relate<'tcx>, [src]
T: Relate<'tcx>,
pub fn glb<T>(self, a: T, b: T) -> InferResult<'tcx, T> where
T: Relate<'tcx>, [src]
T: Relate<'tcx>,
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for Trace<'a, 'tcx>
impl<'a, 'tcx> !Send for Trace<'a, 'tcx>
impl<'a, 'tcx> !Sync for Trace<'a, 'tcx>
impl<'a, 'tcx> Unpin for Trace<'a, 'tcx> where
'tcx: 'a,
'tcx: 'a,
impl<'a, 'tcx> !UnwindSafe for Trace<'a, 'tcx>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> WithConstness for T[src]
impl<T> WithConstness for T[src]fn with_constness(self, constness: Constness) -> ConstnessAnd<Self>[src]
fn with_const(self) -> ConstnessAnd<Self>[src]
fn without_const(self) -> ConstnessAnd<Self>[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized, [src]
T: ?Sized,