pub struct FindPtr<'tcx> {
    tcx: TyCtxt<'tcx>,
    unique: HashSet<DefId>,
    ptr: bool,
}Fields§
§tcx: TyCtxt<'tcx>§unique: HashSet<DefId>§ptr: boolImplementations§
Trait Implementations§
Source§impl<'tcx> TypeVisitor<TyCtxt<'tcx>> for FindPtr<'tcx>
 
impl<'tcx> TypeVisitor<TyCtxt<'tcx>> for FindPtr<'tcx>
type Result = ControlFlow<()>
fn visit_ty(&mut self, ty: Ty<'tcx>) -> Self::Result
fn visit_binder<T>(&mut self, t: &Binder<I, T>) -> Self::Resultwhere
    T: TypeVisitable<I>,
fn visit_region(&mut self, r: <I as Interner>::Region) -> Self::Result
fn visit_const(&mut self, c: <I as Interner>::Const) -> Self::Result
fn visit_predicate(&mut self, p: <I as Interner>::Predicate) -> Self::Result
fn visit_clauses(&mut self, c: <I as Interner>::Clauses) -> Self::Result
fn visit_error( &mut self, _guar: <I as Interner>::ErrorGuaranteed, ) -> Self::Result
Auto Trait Implementations§
impl<'tcx> Freeze for FindPtr<'tcx>
impl<'tcx> !RefUnwindSafe for FindPtr<'tcx>
impl<'tcx> !Send for FindPtr<'tcx>
impl<'tcx> !Sync for FindPtr<'tcx>
impl<'tcx> Unpin for FindPtr<'tcx>
impl<'tcx> !UnwindSafe for FindPtr<'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