1 | // Copyright © SixtyFPS GmbH <info@slint.dev> |
2 | // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial |
3 | |
4 | |
5 | struct NotExportedStruct0 := { a: int } |
6 | struct NotExportedStruct1 := { b: int, c: NotExportedStruct0 } |
7 | struct NotExportedStruct2 := { z: int } |
8 | |
9 | export enum ExportEnum { Hello, Bonjour } |
10 | |
11 | export struct ExportedStruct := { d: int, e: NotExportedStruct0 } |
12 | |
13 | export UseStruct := Rectangle { |
14 | property<ExportedStruct> exp; |
15 | property<NotExportedStruct1> nexp; |
16 | property<[NotExportedStruct2]> arr; |
17 | } |
18 | |