Enum paralegal_spdg::rustc::mir::terminator::ClosureOutlivesSubject
source · pub enum ClosureOutlivesSubject<'tcx> {
Ty(ClosureOutlivesSubjectTy<'tcx>),
Region(RegionVid),
}
Expand description
The subject of a ClosureOutlivesRequirement
– that is, the thing
that must outlive some region.
Variants§
Ty(ClosureOutlivesSubjectTy<'tcx>)
Subject is a type, typically a type parameter, but could also
be a projection. Indicates a requirement like T: 'a
being
passed to the caller, where the type here is T
.
Region(RegionVid)
Subject is a free region from the closure. Indicates a requirement
like 'a: 'b
being passed to the caller; the region here is 'a
.
Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for ClosureOutlivesSubject<'tcx>
impl<'tcx> !Send for ClosureOutlivesSubject<'tcx>
impl<'tcx> !Sync for ClosureOutlivesSubject<'tcx>
impl<'tcx> Unpin for ClosureOutlivesSubject<'tcx>
impl<'tcx> !UnwindSafe for ClosureOutlivesSubject<'tcx>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more