pub struct rCanary<'tcx> {
    tcx: TyCtxt<'tcx>,
    adt_owner: OHAResultMap,
    mir_graph: MirGraph,
}Fields§
§tcx: TyCtxt<'tcx>§adt_owner: OHAResultMap§mir_graph: MirGraphImplementations§
Source§impl<'tcx> rCanary<'tcx>
 
impl<'tcx> rCanary<'tcx>
pub fn new(tcx: TyCtxt<'tcx>, adt_owner: OHAResultMap) -> Self
pub fn start(&mut self)
pub fn tcx(&self) -> TyCtxt<'tcx>
pub fn adt_owner(&self) -> &OHAResultMap
pub fn adt_owner_mut(&mut self) -> &mut OHAResultMap
pub fn mir_graph(&self) -> &MirGraph
pub fn mir_graph_mut(&mut self) -> &mut MirGraph
Trait Implementations§
Auto Trait Implementations§
impl<'tcx> Freeze for rCanary<'tcx>
impl<'tcx> !RefUnwindSafe for rCanary<'tcx>
impl<'tcx> !Send for rCanary<'tcx>
impl<'tcx> !Sync for rCanary<'tcx>
impl<'tcx> Unpin for rCanary<'tcx>
impl<'tcx> !UnwindSafe for rCanary<'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