Function tuple_struct
Source pub fn tuple_struct(
name: GeneratedToken,
parameters: Vec<Vec<GeneratedToken>>,
fields: Vec<Vec<GeneratedToken>>,
predicates: Vec<Vec<GeneratedToken>>,
) -> Result<Vec<GeneratedToken>, Overflow>
Expand description
One tuple struct struct Name<...>(fields) where ...;.
A single field is a newtype, and a PhantomData<T> field is an ordinary caller-owned type fragment rather than another projector concept.
ยงErrors
Returns Overflow where the field group outgrows the declared generated-token magnitude.