pub fn named(ty: &TypeRef, visit: &mut impl FnMut(&str))
Call visit with the name of each named type ty refers to.
visit
ty