Type Alias glsl_lang::ast::Condition

source ·
pub type Condition = Node<ConditionData>;
Expand description

Type alias for Node<ConditionData>.

Aliased Type§

struct Condition {
    pub content: ConditionData,
    pub span: Option<NodeSpan>,
}

Fields§

§content: ConditionData

Contents of this syntax node

§span: Option<NodeSpan>

Span in the input this node was parsed from

Trait Implementations§

source§

impl Host for Condition

source§

fn visit<V>(&self, visitor: &mut V)
where V: Visitor,

Visit an AST node.
source§

impl HostMut for Condition

source§

fn visit_mut<V>(&mut self, visitor: &mut V)
where V: VisitorMut,

Visit an AST node.