Struct wgpu::PipelineLayout
source · pub struct PipelineLayout { /* private fields */ }
Expand description
Handle to a pipeline layout.
A PipelineLayout
object describes the available binding groups of a pipeline.
It can be created with Device::create_pipeline_layout
.
Corresponds to WebGPU GPUPipelineLayout
.
Implementations§
source§impl PipelineLayout
impl PipelineLayout
sourcepub fn global_id(&self) -> Id<PipelineLayout>
Available on crate feature expose-ids
only.
pub fn global_id(&self) -> Id<PipelineLayout>
expose-ids
only.Returns a globally-unique identifier for this PipelineLayout
.
Calling this method multiple times on the same object will always return the same value.
The returned value is guaranteed to be unique among all PipelineLayout
s created from the same
Instance
.
Trait Implementations§
source§impl Debug for PipelineLayout
impl Debug for PipelineLayout
Auto Trait Implementations§
impl !RefUnwindSafe for PipelineLayout
impl Send for PipelineLayout
impl Sync for PipelineLayout
impl Unpin for PipelineLayout
impl !UnwindSafe for PipelineLayout
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