naga::proc::overloads::utils

Function rule

Source
pub fn rule<const N: usize>(args: [TypeInner; N], ret: TypeInner) -> Rule
Expand description

Construct a Rule for an operation with the given argument types and return type.