pub struct ComputePipelineBuilder { /* private fields */ }
Expand description
Builds a ComputePipeline
Implementations§
Source§impl ComputePipelineBuilder
impl ComputePipelineBuilder
pub fn with_entry_point(entry_point: &EntryPoint) -> Self
Sourcepub fn label(self, label: &str) -> Self
pub fn label(self, label: &str) -> Self
Set the optional debug name. This may appear in error messages and GPU profiler traces
pub fn build(self) -> ComputePipeline
Trait Implementations§
Source§impl Clone for ComputePipelineBuilder
impl Clone for ComputePipelineBuilder
Source§fn clone(&self) -> ComputePipelineBuilder
fn clone(&self) -> ComputePipelineBuilder
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 moreAuto Trait Implementations§
impl Freeze for ComputePipelineBuilder
impl !RefUnwindSafe for ComputePipelineBuilder
impl Send for ComputePipelineBuilder
impl Sync for ComputePipelineBuilder
impl Unpin for ComputePipelineBuilder
impl !UnwindSafe for ComputePipelineBuilder
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