pub trait HasPartial { type Partial; // Required method fn partial(&self) -> Self::Partial; }
A trait for types that have a partial representation.
The partial representation of the type.
Converts the type to its partial representation.