struct Inherited<'ck, M> {
ghost_stmts: &'ck UnordMap<LocalDefId, GhostStatements>,
mode: &'ck mut M,
config: CheckerConfig,
}
Expand description
Fields shared by the top-level function and its nested closure/generators
Fields§
§ghost_stmts: &'ck UnordMap<LocalDefId, GhostStatements>
Expr
s used to instantiate the early bound refinement parameters of the top-level function
signature
mode: &'ck mut M
§config: CheckerConfig
Implementations§
Source§impl<'ck, M: Mode> Inherited<'ck, M>
impl<'ck, M: Mode> Inherited<'ck, M>
fn new( mode: &'ck mut M, ghost_stmts: &'ck UnordMap<LocalDefId, GhostStatements>, config: CheckerConfig, ) -> Result<Self, CheckerError>
fn reborrow(&mut self) -> Inherited<'_, M>
Auto Trait Implementations§
impl<'ck, M> Freeze for Inherited<'ck, M>
impl<'ck, M> RefUnwindSafe for Inherited<'ck, M>where
M: RefUnwindSafe,
impl<'ck, M> Send for Inherited<'ck, M>where
M: Send,
impl<'ck, M> Sync for Inherited<'ck, M>where
M: Sync,
impl<'ck, M> Unpin for Inherited<'ck, M>
impl<'ck, M> !UnwindSafe for Inherited<'ck, M>
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>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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