1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
//! # QCAConfig - Trait Implementations //! //! This module contains trait implementations for `QCAConfig`. //! //! ## Implemented Traits //! //! - `Default` //! //! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs) use super::types::{ BoundaryConditions, MeasurementStrategy, NeighborhoodType, QCAConfig, QCARuleType, }; impl Default for QCAConfig { fn default() -> Self { Self { dimensions: vec![16], boundary_conditions: BoundaryConditions::Periodic, neighborhood: NeighborhoodType::Moore, rule_type: QCARuleType::Partitioned, evolution_steps: 100, parallel_evolution: true, measurement_strategy: MeasurementStrategy::Probabilistic, } } }