Thread

Trait Thread 

Source
pub trait Thread<Input, Output>: Task<Input, Output> {
    // Required methods
    fn get_thread_info(&self) -> Option<&ThreadInfo<Input>>;
    fn get_thread_info_mut(&mut self) -> Option<&mut ThreadInfo<Input>>;
}

Required Methods§

Source

fn get_thread_info(&self) -> Option<&ThreadInfo<Input>>

Source

fn get_thread_info_mut(&mut self) -> Option<&mut ThreadInfo<Input>>

Implementors§

Source§

impl<VoxelType> Thread<Input<VoxelType>, Output<VoxelType>> for DataThread<VoxelType>
where VoxelType: 'static + Voxel + Send + Sync,

Source§

impl<VoxelType, VertexType> Thread<Output<VoxelType>, Output<VertexType>> for MeshThread<VoxelType, VertexType>
where VoxelType: 'static + Voxel + Send + Sync, VertexType: 'static + Vertex + Clone + Send + Sync,