pub struct PointerChecker<'a> { /* private fields */ }Implementations§
Source§impl<'a> PointerChecker<'a>
impl<'a> PointerChecker<'a>
pub fn new(scripts: &'a [CompiledScript], registry: &'a SymbolRegistry) -> Self
Sourcepub fn set_source_cache(&mut self, cache: &'a HashMap<String, Rc<String>>)
pub fn set_source_cache(&mut self, cache: &'a HashMap<String, Rc<String>>)
Attach a source-text cache so emitted warnings can carry concrete before/after suggestion text. Purely diagnostic — never touches bytecode, script metadata, or output ordering.
Sourcepub fn run(&mut self) -> DiagnosticsCollector
pub fn run(&mut self) -> DiagnosticsCollector
Run pointer checking on all scripts and return collected diagnostics.
Auto Trait Implementations§
impl<'a> Freeze for PointerChecker<'a>
impl<'a> RefUnwindSafe for PointerChecker<'a>
impl<'a> !Send for PointerChecker<'a>
impl<'a> !Sync for PointerChecker<'a>
impl<'a> Unpin for PointerChecker<'a>
impl<'a> UnsafeUnpin for PointerChecker<'a>
impl<'a> UnwindSafe for PointerChecker<'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