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 Clone for ExclusivePipeline
impl Clone for ExclusivePipeline
Source§fn clone(&self) -> ExclusivePipeline
fn clone(&self) -> ExclusivePipeline
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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