pub unsafe trait PipelineLayoutPushConstantsCompatible<Pc: ?Sized>: PipelineLayoutDesc {
fn is_compatible(&self, _: &Pc) -> bool;
}
Expand description
Traits that allow determining whether
Required Methods
sourcefn is_compatible(&self, _: &Pc) -> bool
fn is_compatible(&self, _: &Pc) -> bool
Returns true if Pc
can be used with a pipeline that uses self
as layout.