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