Lines Matching refs:CompKind
24 pub enum CompKind { enum
1001 kind: CompKind,
1074 pub fn new(kind: CompKind) -> Self { in new()
1105 if self.kind == CompKind::Struct { in layout()
1209 pub fn kind(&self) -> CompKind { in kind() argument
1215 self.kind() == CompKind::Union in is_union()
1552 ) -> Result<CompKind, ParseError> { in kind_from_cursor() argument
1555 CXCursor_UnionDecl => CompKind::Union, in kind_from_cursor()
1556 CXCursor_ClassDecl | CXCursor_StructDecl => CompKind::Struct, in kind_from_cursor()
1560 CXCursor_UnionDecl => CompKind::Union, in kind_from_cursor()
1561 _ => CompKind::Struct, in kind_from_cursor()