Trait vulkano::pipeline::shader::ShaderInterfaceDefMatch [] [src]

pub unsafe trait ShaderInterfaceDefMatch<I>: ShaderInterfaceDef where I: ShaderInterfaceDef {
    fn matches(&self, other: &I) -> Result<()ShaderInterfaceMismatchError>;
}

Extension trait for ShaderInterfaceDef that specifies that the interface is potentially compatible with another one.

Required Methods

Returns Ok if the two definitions match.

Implementors