pub trait Document { type Term; }
A body of terms.
The type of term that the document consists of.
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".