pub trait Gate:
Send
+ Sync
+ Debug {
// Required methods
fn dimensions(&self) -> &[ParameterName];
fn contains(&self, coords: &[f64]) -> bool;
fn gate_id(&self) -> &GateId;
fn parent_id(&self) -> Option<&GateId>;
}pub trait Gate:
Send
+ Sync
+ Debug {
// Required methods
fn dimensions(&self) -> &[ParameterName];
fn contains(&self, coords: &[f64]) -> bool;
fn gate_id(&self) -> &GateId;
fn parent_id(&self) -> Option<&GateId>;
}