component_model_meta 0.16.0

A flexible implementation of the Builder pattern supporting nested builders and collection-specific subcomponent_models. Implementation of its derive macro. Should not be used independently, instead use module::component_model which relies on the module.
Documentation
1
2
3
4
5
6
7
8
9
10
11
// UI test: ComponentModel with tuple struct should fail compilation

use component_model_meta::ComponentModel;

#[ derive( Default, ComponentModel ) ]
struct Point( i32, i32 );

fn main()
{
  let _point = Point::default();
}