use super::ControlledGateBatch;
use crate::structures::{GateActuatorBatch, OperatingControlBatch};
use numr::dtype::DType;
use numr::runtime::Runtime;
#[derive(Clone, Debug)]
pub struct ControlledGateTrial<R: Runtime<DType = DType>> {
pub(crate) next: ControlledGateBatch<R>,
}
impl<R: Runtime<DType = DType>> ControlledGateTrial<R> {
pub fn controls(&self) -> &OperatingControlBatch<R> {
self.next.controls()
}
pub fn actuators(&self) -> &GateActuatorBatch<R> {
self.next.actuators()
}
pub fn into_next(self) -> ControlledGateBatch<R> {
self.next
}
}