pub struct SimplePipeline<T> { /* private fields */ }Expand description
Simpler pipeline with shared state (not type-safe across stages)
Implementations§
Source§impl<T> SimplePipeline<T>where
T: Send + 'static,
impl<T> SimplePipeline<T>where
T: Send + 'static,
Sourcepub fn build_taskflow(
&self,
taskflow: &mut Taskflow,
data: Arc<Mutex<T>>,
) -> Vec<TaskHandle>
pub fn build_taskflow( &self, taskflow: &mut Taskflow, data: Arc<Mutex<T>>, ) -> Vec<TaskHandle>
Build as taskflow stages
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for SimplePipeline<T>
impl<T> !RefUnwindSafe for SimplePipeline<T>
impl<T> Send for SimplePipeline<T>
impl<T> Sync for SimplePipeline<T>
impl<T> Unpin for SimplePipeline<T>
impl<T> UnsafeUnpin for SimplePipeline<T>
impl<T> !UnwindSafe for SimplePipeline<T>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more