Type Alias glsl_lang::ast::StructSpecifier

source ·
pub type StructSpecifier = Node<StructSpecifierData>;
Expand description

Type alias for Node<StructSpecifierData>.

Aliased Type§

struct StructSpecifier {
    pub content: StructSpecifierData,
    pub span: Option<NodeSpan>,
}

Fields§

§content: StructSpecifierData

Contents of this syntax node

§span: Option<NodeSpan>

Span in the input this node was parsed from

Trait Implementations§

source§

impl Extractable<TranslationUnit> for StructSpecifier

source§

fn wrap(source: &str) -> Cow<'_, str>

Wrap the given source which parses as Self into something that parses as R
source§

fn extract(ast::TranslationUnit: TranslationUnit) -> Option<Self>

Extract the subtree for Self from a parent tree R
source§

impl Host for StructSpecifier

source§

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

Visit an AST node.
source§

impl HostMut for StructSpecifier

source§

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

Visit an AST node.