Type Alias glsl_lang::ast::SwitchStatement
source · pub type SwitchStatement = Node<SwitchStatementData>;
Expand description
Type alias for Node<SwitchStatementData>
.
Aliased Type§
struct SwitchStatement {
pub content: SwitchStatementData,
pub span: Option<NodeSpan>,
}
Fields§
§content: SwitchStatementData
Contents of this syntax node
span: Option<NodeSpan>
Span in the input this node was parsed from
Trait Implementations§
source§impl Extractable<TranslationUnit> for SwitchStatement
impl Extractable<TranslationUnit> for SwitchStatement
source§impl Host for SwitchStatement
impl Host for SwitchStatement
source§impl HostMut for SwitchStatement
impl HostMut for SwitchStatement
source§fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
fn visit_mut<V>(&mut self, visitor: &mut V)where
V: VisitorMut,
Visit an AST node.