[][src]Trait nannou::vk::RenderPassCompatible

pub unsafe trait RenderPassCompatible<Other>: RenderPassDesc where
    Other: RenderPassDesc + ?Sized
{ fn is_compatible_with(&self, other: &Other) -> bool; }

Trait implemented on render pass objects to check whether they are compatible with another render pass.

The trait is automatically implemented for all type that implement RenderPassDesc.

Note: This trait exists so that you can specialize it once specialization lands in Rust.

Required methods

fn is_compatible_with(&self, other: &Other) -> bool

Returns true if this layout is compatible with the other layout, as defined in the Render Pass Compatibility section of the Vulkan specs.

Loading content...

Implementors

impl<A, B> RenderPassCompatible<B> for A where
    A: RenderPassDesc + ?Sized,
    B: RenderPassDesc + ?Sized
[src]

Loading content...