pub struct GenericChecker<'tcx> {
trait_map: HashMap<String, HashSet<Ty<'tcx>>>,
}Fields§
§trait_map: HashMap<String, HashSet<Ty<'tcx>>>Implementations§
Source§impl<'tcx> GenericChecker<'tcx>
impl<'tcx> GenericChecker<'tcx>
pub fn new(tcx: TyCtxt<'tcx>, p_env: ParamEnv<'tcx>) -> Self
pub fn get_satisfied_ty_map(&self) -> HashMap<String, HashSet<Ty<'tcx>>>
fn get_satisfied_ty_for_pod(tcx: TyCtxt<'tcx>) -> HashSet<Ty<'tcx>>
Auto Trait Implementations§
impl<'tcx> Freeze for GenericChecker<'tcx>
impl<'tcx> !RefUnwindSafe for GenericChecker<'tcx>
impl<'tcx> Send for GenericChecker<'tcx>
impl<'tcx> Sync for GenericChecker<'tcx>
impl<'tcx> Unpin for GenericChecker<'tcx>
impl<'tcx> !UnwindSafe for GenericChecker<'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