TSTriple

Type Alias TSTriple 

Source
pub type TSTriple<'a, TS> = <TS as IsTripleSource>::Triple<'a>;
Expand description

Type alias to denote the type of triples yielded by a TripleSource.

Why not using TS::Item<'a> instead? Source::Item being a generic associated type (GAT), the compiler will not always “know” that TS::Item<'a> implements the Triple trait. This type alias, on the other hand, will always be recognized as a Triple implementation.