(local_key: u64, mut info: config::Node, extra_args: Table)
| 22 | |
| 23 | impl AnyNode { |
| 24 | pub fn new(local_key: u64, mut info: config::Node, extra_args: Table) -> Result<AnyNode> { |
| 25 | info.entity.args = merge_table(extra_args, info.entity.args); |
| 26 | Ok(AnyNode { |
| 27 | nodes: crate::node::load_static(local_key, &info)?, |
| 28 | info, |
| 29 | }) |
| 30 | } |
| 31 | |
| 32 | #[allow(dead_code)] |
| 33 | pub fn first(&self) -> &dyn Actor { |
nothing calls this directly
no test coverage detected