use cellular_raza_concepts::cycle::*;
use serde::{Deserialize, Serialize};
#[cfg(feature = "pyo3")]
use pyo3::prelude::*;
#[derive(Clone, Debug, Serialize, Deserialize)]
#[cfg_attr(feature = "pyo3", pyclass)]
pub struct NoCycle;
impl<Cel> Cycle<Cel> for NoCycle {
fn update_cycle(_: &mut rand_chacha::ChaCha8Rng, _: &f64, _: &mut Cel) -> Option<CycleEvent> {
None
}
fn divide(
_: &mut rand_chacha::ChaCha8Rng,
_: &mut Cel,
) -> Result<Cel, cellular_raza_concepts::errors::DivisionError> {
panic!("This is the divide() function of the NoCycle struct which should never be called. This is a backend error. Please report!")
}
}