reactive_graph_std_string_model/component/
string_string_number_gate.rs1use crate::NAMESPACE_STRING;
2use reactive_graph_graph::component_ty;
3use reactive_graph_graph::properties;
4use reactive_graph_reactive_model_api::entity_model;
5use reactive_graph_std_result_model::ResultNumberU64;
6
7properties!(StringStringNumberGateProperties, (LHS, "lhs", ""), (RHS, "rhs", ""));
8
9component_ty!(
10 COMPONENT_STRING_STRING_NUMBER_GATE,
11 NAMESPACE_STRING,
12 COMPONENT_NAME_STRING_STRING_NUMBER_GATE,
13 "string_string_number_gate"
14);
15
16entity_model!(
17 StringStringNumberGate,
18 set lhs string,
19 set rhs string
20);
21impl ResultNumberU64 for StringStringNumberGate {}