Type Alias glsl_lang::ast::FunctionDefinition
source · pub type FunctionDefinition = Node<FunctionDefinitionData>;
Expand description
Type alias for Node<FunctionDefinitionData>
.
Aliased Type§
struct FunctionDefinition {
pub content: FunctionDefinitionData,
pub span: Option<NodeSpan>,
}
Fields§
§content: FunctionDefinitionData
Contents of this syntax node
span: Option<NodeSpan>
Span in the input this node was parsed from
Trait Implementations§
source§impl Host for FunctionDefinition
impl Host for FunctionDefinition
source§impl HostMut for FunctionDefinition
impl HostMut for FunctionDefinition
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.