xshade_parser/ast/
struct_member_declaration.rs

1use ::ast::*;
2
3#[derive(Debug, Eq, PartialEq, Serialize, Deserialize)]
4pub struct StructMemberDeclaration {
5    pub span: Span,
6    pub struct_member_name: Identifier,
7    pub struct_member_type_name: TypeIdentifier,
8}
9
10impl Spanned for StructMemberDeclaration {
11    fn get_span(&self) -> Span {
12        self.span
13    }
14}