Struct aquascope::analysis::AquascopeAnalysis
source · pub struct AquascopeAnalysis<'a, 'tcx: 'a> { /* private fields */ }
Implementations§
source§impl<'a, 'tcx: 'a> AquascopeAnalysis<'a, 'tcx>
impl<'a, 'tcx: 'a> AquascopeAnalysis<'a, 'tcx>
pub fn new(tcx: TyCtxt<'tcx>, body_id: BodyId) -> Self
pub fn run( tcx: TyCtxt<'tcx>, body_id: BodyId ) -> AquascopeResult<AnalysisOutput>
pub fn is_span_visible(&self, span: Span) -> bool
pub fn span_to_range(&self, span: Span) -> CharRange
pub fn key_to_spans<K>( &self, loan: K, live_at: &FxHashMap<Point, Vec<K>>, min_span: Span, max_span: Span ) -> Vec<Span>where K: PartialEq + Eq + Copy,
Auto Trait Implementations§
impl<'a, 'tcx> !RefUnwindSafe for AquascopeAnalysis<'a, 'tcx>
impl<'a, 'tcx> !Send for AquascopeAnalysis<'a, 'tcx>
impl<'a, 'tcx> !Sync for AquascopeAnalysis<'a, 'tcx>
impl<'a, 'tcx> Unpin for AquascopeAnalysis<'a, 'tcx>
impl<'a, 'tcx> !UnwindSafe for AquascopeAnalysis<'a, '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