pub trait ApplyGate: Gate {
// Required method
fn classify(
&self,
matrix: &EventMatrix,
gate_map: &GateRegistry,
) -> Result<BitVec<u64>, FlowGateError>;
}Required Methods§
Sourcefn classify(
&self,
matrix: &EventMatrix,
gate_map: &GateRegistry,
) -> Result<BitVec<u64>, FlowGateError>
fn classify( &self, matrix: &EventMatrix, gate_map: &GateRegistry, ) -> Result<BitVec<u64>, FlowGateError>
Classify events in the matrix against this gate.
Returns a BitVec where each bit indicates whether the corresponding
event is inside the gate.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".