DualModuleParallelUnitPtr

Type Alias DualModuleParallelUnitPtr 

Source
pub type DualModuleParallelUnitPtr<SerialModule> = ArcManualSafeLock<DualModuleParallelUnit<SerialModule>>;

Aliased Type§

pub struct DualModuleParallelUnitPtr<SerialModule> { /* private fields */ }

Implementations§

Source§

impl<SerialModule: DualModuleImpl + Send + Sync> DualModuleParallelUnitPtr<SerialModule>

Source

pub fn new_wrapper( serial_module: SerialModule, unit_index: usize, partition_info: Arc<PartitionInfo>, partition_unit: PartitionUnitPtr, enable_parallel_execution: bool, ) -> Self

create a simple wrapper over a serial dual module

Trait Implementations§

Source§

impl<SerialModule: DualModuleImpl + Send + Sync> Debug for DualModuleParallelUnitPtr<SerialModule>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more