Struct rustc_middle::ty::ClosureSubstsParts [−][src]
pub struct ClosureSubstsParts<'tcx, T> {
pub parent_substs: &'tcx [GenericArg<'tcx>],
pub closure_kind_ty: T,
pub closure_sig_as_fn_ptr_ty: T,
pub tupled_upvars_ty: T,
}Expand description
Struct returned by split().
Fields
parent_substs: &'tcx [GenericArg<'tcx>]closure_kind_ty: Tclosure_sig_as_fn_ptr_ty: Ttupled_upvars_ty: TAuto Trait Implementations
impl<'tcx, T> !RefUnwindSafe for ClosureSubstsParts<'tcx, T>
impl<'tcx, T> !Send for ClosureSubstsParts<'tcx, T>
impl<'tcx, T> !Sync for ClosureSubstsParts<'tcx, T>
impl<'tcx, T> Unpin for ClosureSubstsParts<'tcx, T> where
T: Unpin,
T: Unpin,
impl<'tcx, T> !UnwindSafe for ClosureSubstsParts<'tcx, T>
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> MaybeResult<T> for T[src]
impl<T> MaybeResult<T> for T[src]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,