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
fn matches(&self, other: &I) -> Result<(), ShaderInterfaceMismatchError>
Returns Ok
if the two definitions match.
Implementors
impl<T, I> ShaderInterfaceDefMatch<I> for T where
T: ShaderInterfaceDef,
I: ShaderInterfaceDef,