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>
[src]
Returns Ok
if the two definitions match.
Implementors
impl<T, I> ShaderInterfaceDefMatch<I> for T where
T: ShaderInterfaceDef,
I: ShaderInterfaceDef,
[src]
impl<T, I> ShaderInterfaceDefMatch<I> for T where
T: ShaderInterfaceDef,
I: ShaderInterfaceDef,
[src]