use std::any::Any; #[derive(Default)] pub struct Edge { // Represents the index of the block owning the Out end in the graph // And the the output index within that block pub from: Option, // Represents the index of the block owning the In end in the graph // And the the input index within that block pub to: Option, } #[derive(Clone, Copy, PartialEq, Eq, Debug)] pub struct BlockIOIndex { pub block_index: usize, pub port_index: usize, }