fn optional_generics(&self) -> impl Iterator<Item = TokenStream> {
        let offset = self.input.required_fields.len() + 1;
        (0..self.input.optional_fields.len())
            .into_iter()
            .map(move |i| {
                TokenStream::from_str(&format!("TyBuilderPattern{}", i + offset)).unwrap()
            })
    }
/// An iterator for optional fields.
An iterator for optional fields.
An iterator for optional fields .
fn optional_generics(&self) -> impl Iterator<Item = TokenStream> {
        let offset = self.input.required_fields.len() + 1;
        (0..self.input.optional_fields.len())
            .into_iter()
            .map(move |i| {
                TokenStream::from_str(&format!("TyBuilderPattern{}", i + offset)).unwrap()
            })
    }
fn optional_generics ( & self ) -> impl Iterator < Item = TokenStream > { let offset = self . input . required_fields . len ( ) + 1 ; ( 0 .. self . input . optional_fields . len ( ) ) . into_iter ( ) . map ( move | i | { TokenStream :: from_str ( & format ! ( " " i offset ) ) . unwrap ( ) } ) }
An iterator for optional fields.
An iterator for optional fields .
&self
&self