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§

source

fn precedence(&self) -> u32

Return the precedence level of the expression

Implementors§