marker type
An empty type used only as a label inside another type, like Km in Distance
A unit struct never created at run time, used as a type argument (often with PhantomData) to select impls or keep values apart.
Examples
With
struct Parcel;andstruct Courier;as markers, passing anId<Courier>where anId<Parcel>is expected fails with E0308.
See also