pub fn is_fn_trait(tcx: TyCtxt<'_>, id: DefId) -> bool
Returns true if this id corresponds to the fn_trait|fn_mut_trait|fn_once_trait