pub(crate) struct GhostStatements {
at_start: Vec<GhostStatement>,
at_location: UnordMap<Location, Vec<GhostStatement>>,
at_edge: UnordMap<BasicBlock, FxHashMap<BasicBlock, Vec<GhostStatement>>>,
}Fields§
§at_start: Vec<GhostStatement>§at_location: UnordMap<Location, Vec<GhostStatement>>§at_edge: UnordMap<BasicBlock, FxHashMap<BasicBlock, Vec<GhostStatement>>>Implementations§
Source§impl GhostStatements
impl GhostStatements
fn new(genv: GlobalEnv<'_, '_>, checker_id: CheckerId) -> QueryResult<Self>
fn add_unblocks<'tcx>(&mut self, tcx: TyCtxt<'tcx>, body_root: &BodyRoot<'tcx>)
fn insert_at(&mut self, point: Point, stmt: GhostStatement)
fn extend_at( &mut self, point: Point, stmts: impl IntoIterator<Item = GhostStatement>, )
fn at(&mut self, point: Point) -> StatementsAt<'_>
pub(crate) fn statements_at( &self, point: Point, ) -> impl Iterator<Item = &GhostStatement>
pub(crate) fn dump_ghost_mir<'tcx>(&self, tcx: TyCtxt<'tcx>, body: &Body<'tcx>)
Auto Trait Implementations§
impl DynSend for GhostStatements
impl DynSync for GhostStatements
impl Freeze for GhostStatements
impl RefUnwindSafe for GhostStatements
impl Send for GhostStatements
impl Sync for GhostStatements
impl Unpin for GhostStatements
impl UnsafeUnpin for GhostStatements
impl UnwindSafe for GhostStatements
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