1
![Stack Overflow](//cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png)
I have a structure that needs to be generic over a type, yet the type is not actually contained in the structure: it's used in methods of this structure, not in the structure itself. And so, the function includes a PhantomData member:
pub struct Map<T> {
filename: String,
phantom: Phan...