Trait glsl_lang::transpiler::glsl::HasPrecedence
source · trait HasPrecedence {
// Required method
fn precedence(&self) -> u32;
}
Expand description
Precedence information for transpiling parentheses properly
Required Methods§
sourcefn precedence(&self) -> u32
fn precedence(&self) -> u32
Return the precedence level of the expression