struct ClosureOutlivesComputer<'a> {
type_decls: &'a mut IndexMap<TypeDeclId, TypeDecl>,
closure_tys: SeqHashMap<TypeDeclId, CycleDetector<()>>,
}Fields§
§type_decls: &'a mut IndexMap<TypeDeclId, TypeDecl>§closure_tys: SeqHashMap<TypeDeclId, CycleDetector<()>>Map of types we want to process.
Implementations§
Source§impl<'a> ClosureOutlivesComputer<'a>
impl<'a> ClosureOutlivesComputer<'a>
fn new(type_decls: &'a mut IndexMap<TypeDeclId, TypeDecl>) -> Self
fn compute_all(self)
fn compute(&mut self, type_id: TypeDeclId)
Auto Trait Implementations§
impl<'a> !UnwindSafe for ClosureOutlivesComputer<'a>
impl<'a> Freeze for ClosureOutlivesComputer<'a>
impl<'a> RefUnwindSafe for ClosureOutlivesComputer<'a>
impl<'a> Send for ClosureOutlivesComputer<'a>
impl<'a> Sync for ClosureOutlivesComputer<'a>
impl<'a> Unpin for ClosureOutlivesComputer<'a>
impl<'a> UnsafeUnpin for ClosureOutlivesComputer<'a>
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more