reactive_graph_std_string_model/component/
string_gate.rs

1use 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::ResultString;
6
7properties!(StringGateProperties, (LHS, "lhs", ""), (RHS, "rhs", ""));
8
9component_ty!(COMPONENT_STRING_GATE, NAMESPACE_STRING, COMPONENT_NAME_STRING_GATE, "string_gate");
10
11entity_model!(
12    StringGate,
13    set lhs string,
14    set rhs string
15);
16impl ResultString for StringGate {}