pub unsafe trait PipelineLayoutSuperset<Other: ?Sized>: PipelineLayoutDescwhere
    Other: PipelineLayoutDesc,
{ fn ensure_superset_of(
        &self,
        _: &Other
    ) -> Result<(), PipelineLayoutNotSupersetError>; }
Expand description

Traits that allow determining whether a pipeline layout is a superset of another one.

This trait is automatically implemented on all types that implement PipelineLayoutAbstract. TODO: once specialization lands, we can add implementations that don’t perform deep comparisons

Required Methods

Makes sure that self is a superset of Other. Returns an Err if this is not the case.

Implementors