Trait vulkano::descriptor::pipeline_layout::PipelineLayoutPushConstantsCompatible [−][src]
pub unsafe trait PipelineLayoutPushConstantsCompatible<Pc: ?Sized>: PipelineLayoutDesc { fn is_compatible(&self, _: &Pc) -> bool; }
Traits that allow determining whether
Required Methods
fn is_compatible(&self, _: &Pc) -> bool
Returns true if Pc
can be used with a pipeline that uses self
as layout.
Implementors
impl<T: ?Sized, U: ?Sized> PipelineLayoutPushConstantsCompatible<U> for T where
T: PipelineLayoutDesc,