Take T types that implement the ToStr trait only