pub enum BasePipeline<'a, P: 'a> {
Pipeline(&'a P),
Index(usize),
None,
}
Expand description
A reference to a parent pipeline. The assumption is that a parent and derivative/child pipeline have most settings in common, and one may be switched for another more quickly than entirely unrelated pipelines would be.
Variants§
Pipeline(&'a P)
Referencing an existing pipeline as parent.
Index(usize)
A pipeline in the same create pipelines call.
The index of the parent must be lower than the index of the child.
None
No parent pipeline exists.
Trait Implementations§
Auto Trait Implementations§
impl<'a, P> Freeze for BasePipeline<'a, P>
impl<'a, P> RefUnwindSafe for BasePipeline<'a, P>where
P: RefUnwindSafe,
impl<'a, P> Send for BasePipeline<'a, P>where
P: Sync,
impl<'a, P> Sync for BasePipeline<'a, P>where
P: Sync,
impl<'a, P> Unpin for BasePipeline<'a, P>
impl<'a, P> UnwindSafe for BasePipeline<'a, P>where
P: RefUnwindSafe,
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