Returns the number of fields for the struct this builder is building.
(&self)
| 202 | |
| 203 | /// Returns the number of fields for the struct this builder is building. |
| 204 | pub fn num_fields(&self) -> usize { |
| 205 | self.field_builders.len() |
| 206 | } |
| 207 | |
| 208 | /// Returns the fields for the struct this builder is building. |
| 209 | pub fn fields(&self) -> &Fields { |