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