Trait vulkano::descriptor::pipeline_layout::PipelineLayoutSuperset
[−]
[src]
pub unsafe trait PipelineLayoutSuperset<Other>: PipelineLayoutDesc where Other: PipelineLayoutDesc { fn is_superset_of(&self, &Other) -> bool; }
Traits that allow determining whether a pipeline layout is a superset of another one.
This trait is automatically implemented on all types that implement PipelineLayout
.
TODO: once specialization lands, we can add implementations that don't perform deep comparisons
Required Methods
fn is_superset_of(&self, &Other) -> bool
Returns true if self
is a superset of Other
.
Implementors
impl<T, U> PipelineLayoutSuperset<U> for T where T: PipelineLayoutDesc, U: PipelineLayoutDesc