@@ -39,7 +39,7 @@ macro_rules! for_each_builtin_structs {
3939 /// On Windows, the Windows key is mapped to the meta modifier.
4040 #[ derive( Copy , Eq ) ]
4141 struct KeyboardModifiers {
42- @name = NativePrivateType :: KeyboardModifiers ,
42+ @name = BuiltinPrivateStruct :: KeyboardModifiers ,
4343 export {
4444 /// Indicates the Alt key on a keyboard.
4545 alt: bool ,
@@ -57,7 +57,7 @@ macro_rules! for_each_builtin_structs {
5757 /// Represents a Pointer event sent by the windowing system.
5858 /// This structure is passed to the `pointer-event` callback of the `TouchArea` element.
5959 struct PointerEvent {
60- @name = NativePrivateType :: PointerEvent ,
60+ @name = BuiltinPrivateStruct :: PointerEvent ,
6161 export {
6262 /// The button that was pressed or released
6363 button: PointerEventButton ,
@@ -75,7 +75,7 @@ macro_rules! for_each_builtin_structs {
7575 /// Represents a Pointer scroll (or wheel) event sent by the windowing system.
7676 /// This structure is passed to the `scroll-event` callback of the `TouchArea` element.
7777 struct PointerScrollEvent {
78- @name = NativePrivateType :: PointerScrollEvent ,
78+ @name = BuiltinPrivateStruct :: PointerScrollEvent ,
7979 export {
8080 /// The amount of pixel in the horizontal direction
8181 delta_x: Coord ,
@@ -90,7 +90,7 @@ macro_rules! for_each_builtin_structs {
9090
9191 /// This structure is generated and passed to the key press and release callbacks of the `FocusScope` element.
9292 struct KeyEvent {
93- @name = NativePrivateType :: KeyEvent ,
93+ @name = BuiltinPrivateStruct :: KeyEvent ,
9494 export {
9595 /// The unicode representation of the key pressed.
9696 text: SharedString ,
@@ -119,7 +119,7 @@ macro_rules! for_each_builtin_structs {
119119
120120 /// This structure is passed to the callbacks of the `DropArea` element
121121 struct DropEvent {
122- @name = NativePrivateType :: DropEvent ,
122+ @name = BuiltinPrivateStruct :: DropEvent ,
123123 export {
124124 /// The mime type of the data being dragged
125125 mime_type: SharedString ,
@@ -135,7 +135,7 @@ macro_rules! for_each_builtin_structs {
135135 /// Represents an item in a StandardListView and a StandardTableView.
136136 #[ non_exhaustive]
137137 struct StandardListViewItem {
138- @name = NativePublicType :: StandardListViewItem ,
138+ @name = BuiltinPublicStruct :: StandardListViewItem ,
139139 export {
140140 /// The text content of the item
141141 text: SharedString ,
@@ -147,7 +147,7 @@ macro_rules! for_each_builtin_structs {
147147 /// This is used to define the column and the column header of a TableView
148148 #[ non_exhaustive]
149149 struct TableColumn {
150- @name = NativePrivateType :: TableColumn ,
150+ @name = BuiltinPrivateStruct :: TableColumn ,
151151 export {
152152 /// The title of the column header
153153 title: SharedString ,
@@ -167,7 +167,7 @@ macro_rules! for_each_builtin_structs {
167167 /// Value of the state property
168168 /// A state is just the current state, but also has information about the previous state and the moment it changed
169169 struct StateInfo {
170- @name = NativePrivateType :: StateInfo ,
170+ @name = BuiltinPrivateStruct :: StateInfo ,
171171 export {
172172 /// The current state value
173173 current_state: i32 ,
@@ -182,7 +182,7 @@ macro_rules! for_each_builtin_structs {
182182
183183 /// A structure to hold metrics of a font for a specified pixel size.
184184 struct FontMetrics {
185- @name = NativePrivateType :: FontMetrics ,
185+ @name = BuiltinPrivateStruct :: FontMetrics ,
186186 export {
187187 /// The distance between the baseline and the top of the tallest glyph in the font.
188188 ascent: Coord ,
@@ -202,7 +202,7 @@ macro_rules! for_each_builtin_structs {
202202
203203 /// An item in the menu of a menu bar or context menu
204204 struct MenuEntry {
205- @name = NativePrivateType :: MenuEntry ,
205+ @name = BuiltinPrivateStruct :: MenuEntry ,
206206 export {
207207 /// The text of the menu entry
208208 title: SharedString ,
0 commit comments