Enum gfx_hal::pso::BasePipeline
source · [−]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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more