Struct rustc_typeck::check::closure::ExpectedSig [−][src]
Expand description
What signature do we expect the closure to have from context?
Fields
cause_span: Option<Span>Expand description
Span that gave us this expectation, if we know that.
sig: PolyFnSig<'tcx>Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for ExpectedSig<'tcx>
impl<'tcx> !Send for ExpectedSig<'tcx>
impl<'tcx> !Sync for ExpectedSig<'tcx>
impl<'tcx> Unpin for ExpectedSig<'tcx>
impl<'tcx> !UnwindSafe for ExpectedSig<'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,