Struct rustc_middle::ty::sty::GeneratorSubstsParts [−][src]
pub struct GeneratorSubstsParts<'tcx, T> {
pub parent_substs: &'tcx [GenericArg<'tcx>],
pub resume_ty: T,
pub yield_ty: T,
pub return_ty: T,
pub witness: T,
pub tupled_upvars_ty: T,
}Fields
parent_substs: &'tcx [GenericArg<'tcx>]resume_ty: Tyield_ty: Treturn_ty: Twitness: Ttupled_upvars_ty: TAuto Trait Implementations
impl<'tcx, T> !RefUnwindSafe for GeneratorSubstsParts<'tcx, T>
impl<'tcx, T> !Send for GeneratorSubstsParts<'tcx, T>
impl<'tcx, T> !Sync for GeneratorSubstsParts<'tcx, T>
impl<'tcx, T> Unpin for GeneratorSubstsParts<'tcx, T> where
T: Unpin,
T: Unpin,
impl<'tcx, T> !UnwindSafe for GeneratorSubstsParts<'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,