pub(crate) enum ExclusivePipeline {
None,
Render(Weak<RenderPipeline>),
Compute(Weak<ComputePipeline>),
}
Expand description
Used by BindGroupLayout
. It indicates whether the BGL must be
used with a specific pipeline. This constraint only happens when
the BGLs have been derived from a pipeline without a layout.
Variants§
Trait Implementations§
source§impl Debug for ExclusivePipeline
impl Debug for ExclusivePipeline
Auto Trait Implementations§
impl Freeze for ExclusivePipeline
impl !RefUnwindSafe for ExclusivePipeline
impl Send for ExclusivePipeline
impl Sync for ExclusivePipeline
impl Unpin for ExclusivePipeline
impl !UnwindSafe for ExclusivePipeline
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