pub struct InterAnalysisRecord<'tcx> {
pub pre_analysis_state: HashMap<usize, AbstractStateItem<'tcx>>,
pub post_analysis_state: HashMap<usize, AbstractStateItem<'tcx>>,
pub ret_state: AbstractStateItem<'tcx>,
}
Fields§
§pre_analysis_state: HashMap<usize, AbstractStateItem<'tcx>>
§post_analysis_state: HashMap<usize, AbstractStateItem<'tcx>>
§ret_state: AbstractStateItem<'tcx>
Implementations§
source§impl<'tcx> InterAnalysisRecord<'tcx>
impl<'tcx> InterAnalysisRecord<'tcx>
pub fn new( pre_analysis_state: HashMap<usize, AbstractStateItem<'tcx>>, post_analysis_state: HashMap<usize, AbstractStateItem<'tcx>>, ret_state: AbstractStateItem<'tcx>, ) -> Self
pub fn is_pre_state_same( &self, other_pre_state: &HashMap<usize, AbstractStateItem<'tcx>>, ) -> bool
Trait Implementations§
source§impl<'tcx> Clone for InterAnalysisRecord<'tcx>
impl<'tcx> Clone for InterAnalysisRecord<'tcx>
source§fn clone(&self) -> InterAnalysisRecord<'tcx>
fn clone(&self) -> InterAnalysisRecord<'tcx>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'tcx> Freeze for InterAnalysisRecord<'tcx>
impl<'tcx> !RefUnwindSafe for InterAnalysisRecord<'tcx>
impl<'tcx> Send for InterAnalysisRecord<'tcx>
impl<'tcx> Sync for InterAnalysisRecord<'tcx>
impl<'tcx> Unpin for InterAnalysisRecord<'tcx>
impl<'tcx> !UnwindSafe for InterAnalysisRecord<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)