pub struct PipelineLayout {
pub(crate) inner: DispatchPipelineLayout,
}
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
.
Fields§
§inner: DispatchPipelineLayout
Implementations§
Source§impl PipelineLayout
impl PipelineLayout
Sourcepub fn as_custom<T: PipelineLayoutInterface>(&self) -> Option<&T>
Available on custom
only.
pub fn as_custom<T: PipelineLayoutInterface>(&self) -> Option<&T>
custom
only.Returns custom implementation of PipelineLayout (if custom backend and is internally T)
Trait Implementations§
Source§impl Clone for PipelineLayout
impl Clone for PipelineLayout
Source§fn clone(&self) -> PipelineLayout
fn clone(&self) -> PipelineLayout
Returns a copy 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 PipelineLayout
impl Debug for PipelineLayout
Source§impl Hash for PipelineLayout
impl Hash for PipelineLayout
Source§impl Ord for PipelineLayout
impl Ord for PipelineLayout
Source§impl PartialEq for PipelineLayout
impl PartialEq for PipelineLayout
Source§impl PartialOrd for PipelineLayout
impl PartialOrd for PipelineLayout
impl Eq for PipelineLayout
Auto Trait Implementations§
impl Freeze for PipelineLayout
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.