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

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