Adds a node to the parent graph that extracts an element of a named tuple associated with the node. Applies [Graph::named_tuple_get] to the parent graph, `this` node and the `key` string. # Example ``` # use ciphercore_base::graphs::create_context; # use ciphercore_base::data_types::{array_type, INT32}; let c = create_context().unwrap(); let g = c.create_graph().unwrap(); let t1 = array_type(ve
(&self, key: String)
| 1118 | /// let n4 = n3.named_tuple_get("node2".to_owned()).unwrap(); |
| 1119 | /// ``` |
| 1120 | pub fn named_tuple_get(&self, key: String) -> Result<Node> { |
| 1121 | self.get_graph().named_tuple_get(self.clone(), key) |
| 1122 | } |
| 1123 | |
| 1124 | /// Adds a node to the parent graph that extracts an element of a vector associated with the node. |
| 1125 | /// |