reactive_graph_std_result_model/component/
result_number.rs1use crate::NAMESPACE_RESULT;
2use reactive_graph_graph::component_model;
3use reactive_graph_graph::component_ty;
4use reactive_graph_graph::properties;
5
6properties!(ResultNumberF64Properties, (RESULT, "result", 0.0));
7properties!(ResultNumberI64Properties, (RESULT, "result", 0));
8properties!(ResultNumberU64Properties, (RESULT, "result", 0));
9
10component_ty!(COMPONENT_RESULT_NUMBER, NAMESPACE_RESULT, COMPONENT_NAME_RESULT_NUMBER, "result_number");
11
12component_model!(
13 ResultNumberF64,
14 get result f64
15);
16
17component_model!(
18 ResultNumberI64,
19 get result i64
20);
21
22component_model!(
23 ResultNumberU64,
24 get result u64
25);