reactive_graph_std_base_model/component/
describable.rs

1use crate::NAMESPACE_BASE;
2use reactive_graph_graph::component_model;
3use reactive_graph_graph::component_ty;
4use reactive_graph_graph::properties;
5
6properties!(DescribableProperties, (DESCRIPTION, "description", ""));
7
8component_ty!(COMPONENT_DESCRIBABLE, NAMESPACE_BASE, COMPONENT_NAME_DESCRIBABLE, "describable");
9
10component_model!(
11    Describable,
12    data description string,
13);
14
15// #[component_type]
16// pub fn trait Describable {
17//
18// }
19
20// pub trait $ident: $crate::PropertyInstanceGetter + $crate::PropertyInstanceSetter {
21// $(
22// $crate::rx_accessor!($accessor_type $($accessor_name $accessor_data_type)?);
23// )*
24// }