1pub const _STDINT_H: u32 = 1;
4pub const _FEATURES_H: u32 = 1;
5pub const _DEFAULT_SOURCE: u32 = 1;
6pub const __GLIBC_USE_ISOC23: u32 = 0;
7pub const __USE_ISOC11: u32 = 1;
8pub const __USE_ISOC99: u32 = 1;
9pub const __USE_ISOC95: u32 = 1;
10pub const __USE_POSIX_IMPLICITLY: u32 = 1;
11pub const _POSIX_SOURCE: u32 = 1;
12pub const _POSIX_C_SOURCE: u32 = 200809;
13pub const __USE_POSIX: u32 = 1;
14pub const __USE_POSIX2: u32 = 1;
15pub const __USE_POSIX199309: u32 = 1;
16pub const __USE_POSIX199506: u32 = 1;
17pub const __USE_XOPEN2K: u32 = 1;
18pub const __USE_XOPEN2K8: u32 = 1;
19pub const _ATFILE_SOURCE: u32 = 1;
20pub const __WORDSIZE: u32 = 64;
21pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
22pub const __SYSCALL_WORDSIZE: u32 = 64;
23pub const __TIMESIZE: u32 = 64;
24pub const __USE_TIME_BITS64: u32 = 1;
25pub const __USE_MISC: u32 = 1;
26pub const __USE_ATFILE: u32 = 1;
27pub const __USE_FORTIFY_LEVEL: u32 = 0;
28pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
29pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
30pub const __GLIBC_USE_C23_STRTOL: u32 = 0;
31pub const _STDC_PREDEF_H: u32 = 1;
32pub const __STDC_IEC_559__: u32 = 1;
33pub const __STDC_IEC_60559_BFP__: u32 = 201404;
34pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
35pub const __STDC_IEC_60559_COMPLEX__: u32 = 201404;
36pub const __STDC_ISO_10646__: u32 = 201706;
37pub const __GNU_LIBRARY__: u32 = 6;
38pub const __GLIBC__: u32 = 2;
39pub const __GLIBC_MINOR__: u32 = 40;
40pub const _SYS_CDEFS_H: u32 = 1;
41pub const __glibc_c99_flexarr_available: u32 = 1;
42pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI: u32 = 0;
43pub const __HAVE_GENERIC_SELECTION: u32 = 1;
44pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
45pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
46pub const __GLIBC_USE_IEC_60559_BFP_EXT_C23: u32 = 0;
47pub const __GLIBC_USE_IEC_60559_EXT: u32 = 0;
48pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
49pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C23: u32 = 0;
50pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
51pub const _BITS_TYPES_H: u32 = 1;
52pub const _BITS_TYPESIZES_H: u32 = 1;
53pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
54pub const __INO_T_MATCHES_INO64_T: u32 = 1;
55pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 1;
56pub const __STATFS_MATCHES_STATFS64: u32 = 1;
57pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64: u32 = 1;
58pub const __FD_SETSIZE: u32 = 1024;
59pub const _BITS_TIME64_H: u32 = 1;
60pub const _BITS_WCHAR_H: u32 = 1;
61pub const _BITS_STDINT_INTN_H: u32 = 1;
62pub const _BITS_STDINT_UINTN_H: u32 = 1;
63pub const _BITS_STDINT_LEAST_H: u32 = 1;
64pub const INT8_MIN: i32 = -128;
65pub const INT16_MIN: i32 = -32768;
66pub const INT32_MIN: i32 = -2147483648;
67pub const INT8_MAX: u32 = 127;
68pub const INT16_MAX: u32 = 32767;
69pub const INT32_MAX: u32 = 2147483647;
70pub const UINT8_MAX: u32 = 255;
71pub const UINT16_MAX: u32 = 65535;
72pub const UINT32_MAX: u32 = 4294967295;
73pub const INT_LEAST8_MIN: i32 = -128;
74pub const INT_LEAST16_MIN: i32 = -32768;
75pub const INT_LEAST32_MIN: i32 = -2147483648;
76pub const INT_LEAST8_MAX: u32 = 127;
77pub const INT_LEAST16_MAX: u32 = 32767;
78pub const INT_LEAST32_MAX: u32 = 2147483647;
79pub const UINT_LEAST8_MAX: u32 = 255;
80pub const UINT_LEAST16_MAX: u32 = 65535;
81pub const UINT_LEAST32_MAX: u32 = 4294967295;
82pub const INT_FAST8_MIN: i32 = -128;
83pub const INT_FAST16_MIN: i64 = -9223372036854775808;
84pub const INT_FAST32_MIN: i64 = -9223372036854775808;
85pub const INT_FAST8_MAX: u32 = 127;
86pub const INT_FAST16_MAX: u64 = 9223372036854775807;
87pub const INT_FAST32_MAX: u64 = 9223372036854775807;
88pub const UINT_FAST8_MAX: u32 = 255;
89pub const UINT_FAST16_MAX: i32 = -1;
90pub const UINT_FAST32_MAX: i32 = -1;
91pub const INTPTR_MIN: i64 = -9223372036854775808;
92pub const INTPTR_MAX: u64 = 9223372036854775807;
93pub const UINTPTR_MAX: i32 = -1;
94pub const PTRDIFF_MIN: i64 = -9223372036854775808;
95pub const PTRDIFF_MAX: u64 = 9223372036854775807;
96pub const SIG_ATOMIC_MIN: i32 = -2147483648;
97pub const SIG_ATOMIC_MAX: u32 = 2147483647;
98pub const SIZE_MAX: i32 = -1;
99pub const WINT_MIN: u32 = 0;
100pub const WINT_MAX: u32 = 4294967295;
101pub const __bool_true_false_are_defined: u32 = 1;
102pub const true_: u32 = 1;
103pub const false_: u32 = 0;
104pub type __u_char = ::core::ffi::c_uchar;
105pub type __u_short = ::core::ffi::c_ushort;
106pub type __u_int = ::core::ffi::c_uint;
107pub type __u_long = ::core::ffi::c_ulong;
108pub type __int8_t = ::core::ffi::c_schar;
109pub type __uint8_t = ::core::ffi::c_uchar;
110pub type __int16_t = ::core::ffi::c_short;
111pub type __uint16_t = ::core::ffi::c_ushort;
112pub type __int32_t = ::core::ffi::c_int;
113pub type __uint32_t = ::core::ffi::c_uint;
114pub type __int64_t = ::core::ffi::c_long;
115pub type __uint64_t = ::core::ffi::c_ulong;
116pub type __int_least8_t = __int8_t;
117pub type __uint_least8_t = __uint8_t;
118pub type __int_least16_t = __int16_t;
119pub type __uint_least16_t = __uint16_t;
120pub type __int_least32_t = __int32_t;
121pub type __uint_least32_t = __uint32_t;
122pub type __int_least64_t = __int64_t;
123pub type __uint_least64_t = __uint64_t;
124pub type __quad_t = ::core::ffi::c_long;
125pub type __u_quad_t = ::core::ffi::c_ulong;
126pub type __intmax_t = ::core::ffi::c_long;
127pub type __uintmax_t = ::core::ffi::c_ulong;
128pub type __dev_t = ::core::ffi::c_ulong;
129pub type __uid_t = ::core::ffi::c_uint;
130pub type __gid_t = ::core::ffi::c_uint;
131pub type __ino_t = ::core::ffi::c_ulong;
132pub type __ino64_t = ::core::ffi::c_ulong;
133pub type __mode_t = ::core::ffi::c_uint;
134pub type __nlink_t = ::core::ffi::c_ulong;
135pub type __off_t = ::core::ffi::c_long;
136pub type __off64_t = ::core::ffi::c_long;
137pub type __pid_t = ::core::ffi::c_int;
138#[repr(C)]
139#[derive(Debug, Copy, Clone)]
140pub struct __fsid_t {
141 pub __val: [::core::ffi::c_int; 2usize],
142}
143#[allow(clippy::unnecessary_operation, clippy::identity_op)]
144const _: () = {
145 ["Size of __fsid_t"][::core::mem::size_of::<__fsid_t>() - 8usize];
146 ["Alignment of __fsid_t"][::core::mem::align_of::<__fsid_t>() - 4usize];
147 ["Offset of field: __fsid_t::__val"][::core::mem::offset_of!(__fsid_t, __val) - 0usize];
148};
149pub type __clock_t = ::core::ffi::c_long;
150pub type __rlim_t = ::core::ffi::c_ulong;
151pub type __rlim64_t = ::core::ffi::c_ulong;
152pub type __id_t = ::core::ffi::c_uint;
153pub type __time_t = ::core::ffi::c_long;
154pub type __useconds_t = ::core::ffi::c_uint;
155pub type __suseconds_t = ::core::ffi::c_long;
156pub type __suseconds64_t = ::core::ffi::c_long;
157pub type __daddr_t = ::core::ffi::c_int;
158pub type __key_t = ::core::ffi::c_int;
159pub type __clockid_t = ::core::ffi::c_int;
160pub type __timer_t = *mut ::core::ffi::c_void;
161pub type __blksize_t = ::core::ffi::c_long;
162pub type __blkcnt_t = ::core::ffi::c_long;
163pub type __blkcnt64_t = ::core::ffi::c_long;
164pub type __fsblkcnt_t = ::core::ffi::c_ulong;
165pub type __fsblkcnt64_t = ::core::ffi::c_ulong;
166pub type __fsfilcnt_t = ::core::ffi::c_ulong;
167pub type __fsfilcnt64_t = ::core::ffi::c_ulong;
168pub type __fsword_t = ::core::ffi::c_long;
169pub type __ssize_t = ::core::ffi::c_long;
170pub type __syscall_slong_t = ::core::ffi::c_long;
171pub type __syscall_ulong_t = ::core::ffi::c_ulong;
172pub type __loff_t = __off64_t;
173pub type __caddr_t = *mut ::core::ffi::c_char;
174pub type __intptr_t = ::core::ffi::c_long;
175pub type __socklen_t = ::core::ffi::c_uint;
176pub type __sig_atomic_t = ::core::ffi::c_int;
177pub type int_least8_t = __int_least8_t;
178pub type int_least16_t = __int_least16_t;
179pub type int_least32_t = __int_least32_t;
180pub type int_least64_t = __int_least64_t;
181pub type uint_least8_t = __uint_least8_t;
182pub type uint_least16_t = __uint_least16_t;
183pub type uint_least32_t = __uint_least32_t;
184pub type uint_least64_t = __uint_least64_t;
185pub type int_fast8_t = ::core::ffi::c_schar;
186pub type int_fast16_t = ::core::ffi::c_long;
187pub type int_fast32_t = ::core::ffi::c_long;
188pub type int_fast64_t = ::core::ffi::c_long;
189pub type uint_fast8_t = ::core::ffi::c_uchar;
190pub type uint_fast16_t = ::core::ffi::c_ulong;
191pub type uint_fast32_t = ::core::ffi::c_ulong;
192pub type uint_fast64_t = ::core::ffi::c_ulong;
193pub type intmax_t = __intmax_t;
194pub type uintmax_t = __uintmax_t;
195pub type wchar_t = ::core::ffi::c_int;
196#[repr(C)]
197#[repr(align(16))]
198#[derive(Debug, Copy, Clone)]
199pub struct max_align_t {
200 pub __clang_max_align_nonce1: ::core::ffi::c_longlong,
201 pub __bindgen_padding_0: u64,
202 pub __clang_max_align_nonce2: u128,
203}
204#[allow(clippy::unnecessary_operation, clippy::identity_op)]
205const _: () = {
206 ["Size of max_align_t"][::core::mem::size_of::<max_align_t>() - 32usize];
207 ["Alignment of max_align_t"][::core::mem::align_of::<max_align_t>() - 16usize];
208 ["Offset of field: max_align_t::__clang_max_align_nonce1"]
209 [::core::mem::offset_of!(max_align_t, __clang_max_align_nonce1) - 0usize];
210 ["Offset of field: max_align_t::__clang_max_align_nonce2"]
211 [::core::mem::offset_of!(max_align_t, __clang_max_align_nonce2) - 16usize];
212};
213unsafe extern "C" {
214 pub static mut CLAY__ELEMENT_DEFINITION_LATCH: u8;
215}
216#[repr(C)]
217#[derive(Debug, Copy, Clone)]
218pub struct Clay__Alignpointer {
219 pub c: ::core::ffi::c_char,
220 pub x: *mut ::core::ffi::c_void,
221}
222#[allow(clippy::unnecessary_operation, clippy::identity_op)]
223const _: () = {
224 ["Size of Clay__Alignpointer"][::core::mem::size_of::<Clay__Alignpointer>() - 16usize];
225 ["Alignment of Clay__Alignpointer"][::core::mem::align_of::<Clay__Alignpointer>() - 8usize];
226 ["Offset of field: Clay__Alignpointer::c"]
227 [::core::mem::offset_of!(Clay__Alignpointer, c) - 0usize];
228 ["Offset of field: Clay__Alignpointer::x"]
229 [::core::mem::offset_of!(Clay__Alignpointer, x) - 8usize];
230};
231#[repr(C)]
232#[derive(Debug, Copy, Clone)]
233pub struct Clay__Alignbool {
234 pub c: ::core::ffi::c_char,
235 pub x: bool,
236}
237#[allow(clippy::unnecessary_operation, clippy::identity_op)]
238const _: () = {
239 ["Size of Clay__Alignbool"][::core::mem::size_of::<Clay__Alignbool>() - 2usize];
240 ["Alignment of Clay__Alignbool"][::core::mem::align_of::<Clay__Alignbool>() - 1usize];
241 ["Offset of field: Clay__Alignbool::c"][::core::mem::offset_of!(Clay__Alignbool, c) - 0usize];
242 ["Offset of field: Clay__Alignbool::x"][::core::mem::offset_of!(Clay__Alignbool, x) - 1usize];
243};
244#[repr(C)]
245#[derive(Debug, Copy, Clone)]
246pub struct Clay__Alignuint8_t {
247 pub c: ::core::ffi::c_char,
248 pub x: u8,
249}
250#[allow(clippy::unnecessary_operation, clippy::identity_op)]
251const _: () = {
252 ["Size of Clay__Alignuint8_t"][::core::mem::size_of::<Clay__Alignuint8_t>() - 2usize];
253 ["Alignment of Clay__Alignuint8_t"][::core::mem::align_of::<Clay__Alignuint8_t>() - 1usize];
254 ["Offset of field: Clay__Alignuint8_t::c"]
255 [::core::mem::offset_of!(Clay__Alignuint8_t, c) - 0usize];
256 ["Offset of field: Clay__Alignuint8_t::x"]
257 [::core::mem::offset_of!(Clay__Alignuint8_t, x) - 1usize];
258};
259#[repr(C)]
260#[derive(Debug, Copy, Clone)]
261pub struct Clay__Alignint32_t {
262 pub c: ::core::ffi::c_char,
263 pub x: i32,
264}
265#[allow(clippy::unnecessary_operation, clippy::identity_op)]
266const _: () = {
267 ["Size of Clay__Alignint32_t"][::core::mem::size_of::<Clay__Alignint32_t>() - 8usize];
268 ["Alignment of Clay__Alignint32_t"][::core::mem::align_of::<Clay__Alignint32_t>() - 4usize];
269 ["Offset of field: Clay__Alignint32_t::c"]
270 [::core::mem::offset_of!(Clay__Alignint32_t, c) - 0usize];
271 ["Offset of field: Clay__Alignint32_t::x"]
272 [::core::mem::offset_of!(Clay__Alignint32_t, x) - 4usize];
273};
274#[repr(C)]
275#[derive(Debug, Copy, Clone)]
276pub struct Clay_String {
277 pub length: i32,
278 pub chars: *const ::core::ffi::c_char,
279}
280#[allow(clippy::unnecessary_operation, clippy::identity_op)]
281const _: () = {
282 ["Size of Clay_String"][::core::mem::size_of::<Clay_String>() - 16usize];
283 ["Alignment of Clay_String"][::core::mem::align_of::<Clay_String>() - 8usize];
284 ["Offset of field: Clay_String::length"][::core::mem::offset_of!(Clay_String, length) - 0usize];
285 ["Offset of field: Clay_String::chars"][::core::mem::offset_of!(Clay_String, chars) - 8usize];
286};
287#[repr(C)]
288#[derive(Debug, Copy, Clone)]
289pub struct Clay__AlignClay_String {
290 pub c: ::core::ffi::c_char,
291 pub x: Clay_String,
292}
293#[allow(clippy::unnecessary_operation, clippy::identity_op)]
294const _: () = {
295 ["Size of Clay__AlignClay_String"][::core::mem::size_of::<Clay__AlignClay_String>() - 24usize];
296 ["Alignment of Clay__AlignClay_String"]
297 [::core::mem::align_of::<Clay__AlignClay_String>() - 8usize];
298 ["Offset of field: Clay__AlignClay_String::c"]
299 [::core::mem::offset_of!(Clay__AlignClay_String, c) - 0usize];
300 ["Offset of field: Clay__AlignClay_String::x"]
301 [::core::mem::offset_of!(Clay__AlignClay_String, x) - 8usize];
302};
303#[repr(C)]
304#[derive(Debug, Copy, Clone)]
305pub struct Clay__Clay_StringWrapper {
306 pub wrapped: Clay_String,
307}
308#[allow(clippy::unnecessary_operation, clippy::identity_op)]
309const _: () = {
310 ["Size of Clay__Clay_StringWrapper"]
311 [::core::mem::size_of::<Clay__Clay_StringWrapper>() - 16usize];
312 ["Alignment of Clay__Clay_StringWrapper"]
313 [::core::mem::align_of::<Clay__Clay_StringWrapper>() - 8usize];
314 ["Offset of field: Clay__Clay_StringWrapper::wrapped"]
315 [::core::mem::offset_of!(Clay__Clay_StringWrapper, wrapped) - 0usize];
316};
317#[repr(C)]
318#[derive(Debug, Copy, Clone)]
319pub struct Clay__StringArray {
320 pub capacity: i32,
321 pub length: i32,
322 pub internalArray: *mut Clay_String,
323}
324#[allow(clippy::unnecessary_operation, clippy::identity_op)]
325const _: () = {
326 ["Size of Clay__StringArray"][::core::mem::size_of::<Clay__StringArray>() - 16usize];
327 ["Alignment of Clay__StringArray"][::core::mem::align_of::<Clay__StringArray>() - 8usize];
328 ["Offset of field: Clay__StringArray::capacity"]
329 [::core::mem::offset_of!(Clay__StringArray, capacity) - 0usize];
330 ["Offset of field: Clay__StringArray::length"]
331 [::core::mem::offset_of!(Clay__StringArray, length) - 4usize];
332 ["Offset of field: Clay__StringArray::internalArray"]
333 [::core::mem::offset_of!(Clay__StringArray, internalArray) - 8usize];
334};
335#[repr(C)]
336#[derive(Debug, Copy, Clone)]
337pub struct Clay__AlignClay__StringArray {
338 pub c: ::core::ffi::c_char,
339 pub x: Clay__StringArray,
340}
341#[allow(clippy::unnecessary_operation, clippy::identity_op)]
342const _: () = {
343 ["Size of Clay__AlignClay__StringArray"]
344 [::core::mem::size_of::<Clay__AlignClay__StringArray>() - 24usize];
345 ["Alignment of Clay__AlignClay__StringArray"]
346 [::core::mem::align_of::<Clay__AlignClay__StringArray>() - 8usize];
347 ["Offset of field: Clay__AlignClay__StringArray::c"]
348 [::core::mem::offset_of!(Clay__AlignClay__StringArray, c) - 0usize];
349 ["Offset of field: Clay__AlignClay__StringArray::x"]
350 [::core::mem::offset_of!(Clay__AlignClay__StringArray, x) - 8usize];
351};
352#[repr(C)]
353#[derive(Debug, Copy, Clone)]
354pub struct Clay__Clay__StringArrayWrapper {
355 pub wrapped: Clay__StringArray,
356}
357#[allow(clippy::unnecessary_operation, clippy::identity_op)]
358const _: () = {
359 ["Size of Clay__Clay__StringArrayWrapper"]
360 [::core::mem::size_of::<Clay__Clay__StringArrayWrapper>() - 16usize];
361 ["Alignment of Clay__Clay__StringArrayWrapper"]
362 [::core::mem::align_of::<Clay__Clay__StringArrayWrapper>() - 8usize];
363 ["Offset of field: Clay__Clay__StringArrayWrapper::wrapped"]
364 [::core::mem::offset_of!(Clay__Clay__StringArrayWrapper, wrapped) - 0usize];
365};
366#[repr(C)]
367#[derive(Debug, Copy, Clone)]
368pub struct Clay_Context {
369 _unused: [u8; 0],
370}
371#[repr(C)]
372#[derive(Debug, Copy, Clone)]
373pub struct Clay_Arena {
374 pub nextAllocation: usize,
375 pub capacity: usize,
376 pub memory: *mut ::core::ffi::c_char,
377}
378#[allow(clippy::unnecessary_operation, clippy::identity_op)]
379const _: () = {
380 ["Size of Clay_Arena"][::core::mem::size_of::<Clay_Arena>() - 24usize];
381 ["Alignment of Clay_Arena"][::core::mem::align_of::<Clay_Arena>() - 8usize];
382 ["Offset of field: Clay_Arena::nextAllocation"]
383 [::core::mem::offset_of!(Clay_Arena, nextAllocation) - 0usize];
384 ["Offset of field: Clay_Arena::capacity"]
385 [::core::mem::offset_of!(Clay_Arena, capacity) - 8usize];
386 ["Offset of field: Clay_Arena::memory"][::core::mem::offset_of!(Clay_Arena, memory) - 16usize];
387};
388#[repr(C)]
389#[derive(Debug, Copy, Clone)]
390pub struct Clay__AlignClay_Arena {
391 pub c: ::core::ffi::c_char,
392 pub x: Clay_Arena,
393}
394#[allow(clippy::unnecessary_operation, clippy::identity_op)]
395const _: () = {
396 ["Size of Clay__AlignClay_Arena"][::core::mem::size_of::<Clay__AlignClay_Arena>() - 32usize];
397 ["Alignment of Clay__AlignClay_Arena"]
398 [::core::mem::align_of::<Clay__AlignClay_Arena>() - 8usize];
399 ["Offset of field: Clay__AlignClay_Arena::c"]
400 [::core::mem::offset_of!(Clay__AlignClay_Arena, c) - 0usize];
401 ["Offset of field: Clay__AlignClay_Arena::x"]
402 [::core::mem::offset_of!(Clay__AlignClay_Arena, x) - 8usize];
403};
404#[repr(C)]
405#[derive(Debug, Copy, Clone)]
406pub struct Clay__Clay_ArenaWrapper {
407 pub wrapped: Clay_Arena,
408}
409#[allow(clippy::unnecessary_operation, clippy::identity_op)]
410const _: () = {
411 ["Size of Clay__Clay_ArenaWrapper"]
412 [::core::mem::size_of::<Clay__Clay_ArenaWrapper>() - 24usize];
413 ["Alignment of Clay__Clay_ArenaWrapper"]
414 [::core::mem::align_of::<Clay__Clay_ArenaWrapper>() - 8usize];
415 ["Offset of field: Clay__Clay_ArenaWrapper::wrapped"]
416 [::core::mem::offset_of!(Clay__Clay_ArenaWrapper, wrapped) - 0usize];
417};
418#[repr(C)]
419#[derive(Debug, Copy, Clone)]
420pub struct Clay_Dimensions {
421 pub width: f32,
422 pub height: f32,
423}
424#[allow(clippy::unnecessary_operation, clippy::identity_op)]
425const _: () = {
426 ["Size of Clay_Dimensions"][::core::mem::size_of::<Clay_Dimensions>() - 8usize];
427 ["Alignment of Clay_Dimensions"][::core::mem::align_of::<Clay_Dimensions>() - 4usize];
428 ["Offset of field: Clay_Dimensions::width"]
429 [::core::mem::offset_of!(Clay_Dimensions, width) - 0usize];
430 ["Offset of field: Clay_Dimensions::height"]
431 [::core::mem::offset_of!(Clay_Dimensions, height) - 4usize];
432};
433#[repr(C)]
434#[derive(Debug, Copy, Clone)]
435pub struct Clay__AlignClay_Dimensions {
436 pub c: ::core::ffi::c_char,
437 pub x: Clay_Dimensions,
438}
439#[allow(clippy::unnecessary_operation, clippy::identity_op)]
440const _: () = {
441 ["Size of Clay__AlignClay_Dimensions"]
442 [::core::mem::size_of::<Clay__AlignClay_Dimensions>() - 12usize];
443 ["Alignment of Clay__AlignClay_Dimensions"]
444 [::core::mem::align_of::<Clay__AlignClay_Dimensions>() - 4usize];
445 ["Offset of field: Clay__AlignClay_Dimensions::c"]
446 [::core::mem::offset_of!(Clay__AlignClay_Dimensions, c) - 0usize];
447 ["Offset of field: Clay__AlignClay_Dimensions::x"]
448 [::core::mem::offset_of!(Clay__AlignClay_Dimensions, x) - 4usize];
449};
450#[repr(C)]
451#[derive(Debug, Copy, Clone)]
452pub struct Clay__Clay_DimensionsWrapper {
453 pub wrapped: Clay_Dimensions,
454}
455#[allow(clippy::unnecessary_operation, clippy::identity_op)]
456const _: () = {
457 ["Size of Clay__Clay_DimensionsWrapper"]
458 [::core::mem::size_of::<Clay__Clay_DimensionsWrapper>() - 8usize];
459 ["Alignment of Clay__Clay_DimensionsWrapper"]
460 [::core::mem::align_of::<Clay__Clay_DimensionsWrapper>() - 4usize];
461 ["Offset of field: Clay__Clay_DimensionsWrapper::wrapped"]
462 [::core::mem::offset_of!(Clay__Clay_DimensionsWrapper, wrapped) - 0usize];
463};
464#[repr(C)]
465#[derive(Debug, Copy, Clone)]
466pub struct Clay_Vector2 {
467 pub x: f32,
468 pub y: f32,
469}
470#[allow(clippy::unnecessary_operation, clippy::identity_op)]
471const _: () = {
472 ["Size of Clay_Vector2"][::core::mem::size_of::<Clay_Vector2>() - 8usize];
473 ["Alignment of Clay_Vector2"][::core::mem::align_of::<Clay_Vector2>() - 4usize];
474 ["Offset of field: Clay_Vector2::x"][::core::mem::offset_of!(Clay_Vector2, x) - 0usize];
475 ["Offset of field: Clay_Vector2::y"][::core::mem::offset_of!(Clay_Vector2, y) - 4usize];
476};
477#[repr(C)]
478#[derive(Debug, Copy, Clone)]
479pub struct Clay__AlignClay_Vector2 {
480 pub c: ::core::ffi::c_char,
481 pub x: Clay_Vector2,
482}
483#[allow(clippy::unnecessary_operation, clippy::identity_op)]
484const _: () = {
485 ["Size of Clay__AlignClay_Vector2"]
486 [::core::mem::size_of::<Clay__AlignClay_Vector2>() - 12usize];
487 ["Alignment of Clay__AlignClay_Vector2"]
488 [::core::mem::align_of::<Clay__AlignClay_Vector2>() - 4usize];
489 ["Offset of field: Clay__AlignClay_Vector2::c"]
490 [::core::mem::offset_of!(Clay__AlignClay_Vector2, c) - 0usize];
491 ["Offset of field: Clay__AlignClay_Vector2::x"]
492 [::core::mem::offset_of!(Clay__AlignClay_Vector2, x) - 4usize];
493};
494#[repr(C)]
495#[derive(Debug, Copy, Clone)]
496pub struct Clay__Clay_Vector2Wrapper {
497 pub wrapped: Clay_Vector2,
498}
499#[allow(clippy::unnecessary_operation, clippy::identity_op)]
500const _: () = {
501 ["Size of Clay__Clay_Vector2Wrapper"]
502 [::core::mem::size_of::<Clay__Clay_Vector2Wrapper>() - 8usize];
503 ["Alignment of Clay__Clay_Vector2Wrapper"]
504 [::core::mem::align_of::<Clay__Clay_Vector2Wrapper>() - 4usize];
505 ["Offset of field: Clay__Clay_Vector2Wrapper::wrapped"]
506 [::core::mem::offset_of!(Clay__Clay_Vector2Wrapper, wrapped) - 0usize];
507};
508#[repr(C)]
509#[derive(Debug, Copy, Clone)]
510pub struct Clay_Color {
511 pub r: f32,
512 pub g: f32,
513 pub b: f32,
514 pub a: f32,
515}
516#[allow(clippy::unnecessary_operation, clippy::identity_op)]
517const _: () = {
518 ["Size of Clay_Color"][::core::mem::size_of::<Clay_Color>() - 16usize];
519 ["Alignment of Clay_Color"][::core::mem::align_of::<Clay_Color>() - 4usize];
520 ["Offset of field: Clay_Color::r"][::core::mem::offset_of!(Clay_Color, r) - 0usize];
521 ["Offset of field: Clay_Color::g"][::core::mem::offset_of!(Clay_Color, g) - 4usize];
522 ["Offset of field: Clay_Color::b"][::core::mem::offset_of!(Clay_Color, b) - 8usize];
523 ["Offset of field: Clay_Color::a"][::core::mem::offset_of!(Clay_Color, a) - 12usize];
524};
525#[repr(C)]
526#[derive(Debug, Copy, Clone)]
527pub struct Clay__AlignClay_Color {
528 pub c: ::core::ffi::c_char,
529 pub x: Clay_Color,
530}
531#[allow(clippy::unnecessary_operation, clippy::identity_op)]
532const _: () = {
533 ["Size of Clay__AlignClay_Color"][::core::mem::size_of::<Clay__AlignClay_Color>() - 20usize];
534 ["Alignment of Clay__AlignClay_Color"]
535 [::core::mem::align_of::<Clay__AlignClay_Color>() - 4usize];
536 ["Offset of field: Clay__AlignClay_Color::c"]
537 [::core::mem::offset_of!(Clay__AlignClay_Color, c) - 0usize];
538 ["Offset of field: Clay__AlignClay_Color::x"]
539 [::core::mem::offset_of!(Clay__AlignClay_Color, x) - 4usize];
540};
541#[repr(C)]
542#[derive(Debug, Copy, Clone)]
543pub struct Clay__Clay_ColorWrapper {
544 pub wrapped: Clay_Color,
545}
546#[allow(clippy::unnecessary_operation, clippy::identity_op)]
547const _: () = {
548 ["Size of Clay__Clay_ColorWrapper"]
549 [::core::mem::size_of::<Clay__Clay_ColorWrapper>() - 16usize];
550 ["Alignment of Clay__Clay_ColorWrapper"]
551 [::core::mem::align_of::<Clay__Clay_ColorWrapper>() - 4usize];
552 ["Offset of field: Clay__Clay_ColorWrapper::wrapped"]
553 [::core::mem::offset_of!(Clay__Clay_ColorWrapper, wrapped) - 0usize];
554};
555#[repr(C)]
556#[derive(Debug, Copy, Clone)]
557pub struct Clay_BoundingBox {
558 pub x: f32,
559 pub y: f32,
560 pub width: f32,
561 pub height: f32,
562}
563#[allow(clippy::unnecessary_operation, clippy::identity_op)]
564const _: () = {
565 ["Size of Clay_BoundingBox"][::core::mem::size_of::<Clay_BoundingBox>() - 16usize];
566 ["Alignment of Clay_BoundingBox"][::core::mem::align_of::<Clay_BoundingBox>() - 4usize];
567 ["Offset of field: Clay_BoundingBox::x"][::core::mem::offset_of!(Clay_BoundingBox, x) - 0usize];
568 ["Offset of field: Clay_BoundingBox::y"][::core::mem::offset_of!(Clay_BoundingBox, y) - 4usize];
569 ["Offset of field: Clay_BoundingBox::width"]
570 [::core::mem::offset_of!(Clay_BoundingBox, width) - 8usize];
571 ["Offset of field: Clay_BoundingBox::height"]
572 [::core::mem::offset_of!(Clay_BoundingBox, height) - 12usize];
573};
574#[repr(C)]
575#[derive(Debug, Copy, Clone)]
576pub struct Clay__AlignClay_BoundingBox {
577 pub c: ::core::ffi::c_char,
578 pub x: Clay_BoundingBox,
579}
580#[allow(clippy::unnecessary_operation, clippy::identity_op)]
581const _: () = {
582 ["Size of Clay__AlignClay_BoundingBox"]
583 [::core::mem::size_of::<Clay__AlignClay_BoundingBox>() - 20usize];
584 ["Alignment of Clay__AlignClay_BoundingBox"]
585 [::core::mem::align_of::<Clay__AlignClay_BoundingBox>() - 4usize];
586 ["Offset of field: Clay__AlignClay_BoundingBox::c"]
587 [::core::mem::offset_of!(Clay__AlignClay_BoundingBox, c) - 0usize];
588 ["Offset of field: Clay__AlignClay_BoundingBox::x"]
589 [::core::mem::offset_of!(Clay__AlignClay_BoundingBox, x) - 4usize];
590};
591#[repr(C)]
592#[derive(Debug, Copy, Clone)]
593pub struct Clay__Clay_BoundingBoxWrapper {
594 pub wrapped: Clay_BoundingBox,
595}
596#[allow(clippy::unnecessary_operation, clippy::identity_op)]
597const _: () = {
598 ["Size of Clay__Clay_BoundingBoxWrapper"]
599 [::core::mem::size_of::<Clay__Clay_BoundingBoxWrapper>() - 16usize];
600 ["Alignment of Clay__Clay_BoundingBoxWrapper"]
601 [::core::mem::align_of::<Clay__Clay_BoundingBoxWrapper>() - 4usize];
602 ["Offset of field: Clay__Clay_BoundingBoxWrapper::wrapped"]
603 [::core::mem::offset_of!(Clay__Clay_BoundingBoxWrapper, wrapped) - 0usize];
604};
605#[repr(C)]
606#[derive(Debug, Copy, Clone)]
607pub struct Clay_ElementId {
608 pub id: u32,
609 pub offset: u32,
610 pub baseId: u32,
611 pub stringId: Clay_String,
612}
613#[allow(clippy::unnecessary_operation, clippy::identity_op)]
614const _: () = {
615 ["Size of Clay_ElementId"][::core::mem::size_of::<Clay_ElementId>() - 32usize];
616 ["Alignment of Clay_ElementId"][::core::mem::align_of::<Clay_ElementId>() - 8usize];
617 ["Offset of field: Clay_ElementId::id"][::core::mem::offset_of!(Clay_ElementId, id) - 0usize];
618 ["Offset of field: Clay_ElementId::offset"]
619 [::core::mem::offset_of!(Clay_ElementId, offset) - 4usize];
620 ["Offset of field: Clay_ElementId::baseId"]
621 [::core::mem::offset_of!(Clay_ElementId, baseId) - 8usize];
622 ["Offset of field: Clay_ElementId::stringId"]
623 [::core::mem::offset_of!(Clay_ElementId, stringId) - 16usize];
624};
625#[repr(C)]
626#[derive(Debug, Copy, Clone)]
627pub struct Clay__AlignClay_ElementId {
628 pub c: ::core::ffi::c_char,
629 pub x: Clay_ElementId,
630}
631#[allow(clippy::unnecessary_operation, clippy::identity_op)]
632const _: () = {
633 ["Size of Clay__AlignClay_ElementId"]
634 [::core::mem::size_of::<Clay__AlignClay_ElementId>() - 40usize];
635 ["Alignment of Clay__AlignClay_ElementId"]
636 [::core::mem::align_of::<Clay__AlignClay_ElementId>() - 8usize];
637 ["Offset of field: Clay__AlignClay_ElementId::c"]
638 [::core::mem::offset_of!(Clay__AlignClay_ElementId, c) - 0usize];
639 ["Offset of field: Clay__AlignClay_ElementId::x"]
640 [::core::mem::offset_of!(Clay__AlignClay_ElementId, x) - 8usize];
641};
642#[repr(C)]
643#[derive(Debug, Copy, Clone)]
644pub struct Clay__Clay_ElementIdWrapper {
645 pub wrapped: Clay_ElementId,
646}
647#[allow(clippy::unnecessary_operation, clippy::identity_op)]
648const _: () = {
649 ["Size of Clay__Clay_ElementIdWrapper"]
650 [::core::mem::size_of::<Clay__Clay_ElementIdWrapper>() - 32usize];
651 ["Alignment of Clay__Clay_ElementIdWrapper"]
652 [::core::mem::align_of::<Clay__Clay_ElementIdWrapper>() - 8usize];
653 ["Offset of field: Clay__Clay_ElementIdWrapper::wrapped"]
654 [::core::mem::offset_of!(Clay__Clay_ElementIdWrapper, wrapped) - 0usize];
655};
656#[repr(C)]
657#[derive(Debug, Copy, Clone)]
658pub struct Clay_CornerRadius {
659 pub topLeft: f32,
660 pub topRight: f32,
661 pub bottomLeft: f32,
662 pub bottomRight: f32,
663}
664#[allow(clippy::unnecessary_operation, clippy::identity_op)]
665const _: () = {
666 ["Size of Clay_CornerRadius"][::core::mem::size_of::<Clay_CornerRadius>() - 16usize];
667 ["Alignment of Clay_CornerRadius"][::core::mem::align_of::<Clay_CornerRadius>() - 4usize];
668 ["Offset of field: Clay_CornerRadius::topLeft"]
669 [::core::mem::offset_of!(Clay_CornerRadius, topLeft) - 0usize];
670 ["Offset of field: Clay_CornerRadius::topRight"]
671 [::core::mem::offset_of!(Clay_CornerRadius, topRight) - 4usize];
672 ["Offset of field: Clay_CornerRadius::bottomLeft"]
673 [::core::mem::offset_of!(Clay_CornerRadius, bottomLeft) - 8usize];
674 ["Offset of field: Clay_CornerRadius::bottomRight"]
675 [::core::mem::offset_of!(Clay_CornerRadius, bottomRight) - 12usize];
676};
677#[repr(C)]
678#[derive(Debug, Copy, Clone)]
679pub struct Clay__AlignClay_CornerRadius {
680 pub c: ::core::ffi::c_char,
681 pub x: Clay_CornerRadius,
682}
683#[allow(clippy::unnecessary_operation, clippy::identity_op)]
684const _: () = {
685 ["Size of Clay__AlignClay_CornerRadius"]
686 [::core::mem::size_of::<Clay__AlignClay_CornerRadius>() - 20usize];
687 ["Alignment of Clay__AlignClay_CornerRadius"]
688 [::core::mem::align_of::<Clay__AlignClay_CornerRadius>() - 4usize];
689 ["Offset of field: Clay__AlignClay_CornerRadius::c"]
690 [::core::mem::offset_of!(Clay__AlignClay_CornerRadius, c) - 0usize];
691 ["Offset of field: Clay__AlignClay_CornerRadius::x"]
692 [::core::mem::offset_of!(Clay__AlignClay_CornerRadius, x) - 4usize];
693};
694#[repr(C)]
695#[derive(Debug, Copy, Clone)]
696pub struct Clay__Clay_CornerRadiusWrapper {
697 pub wrapped: Clay_CornerRadius,
698}
699#[allow(clippy::unnecessary_operation, clippy::identity_op)]
700const _: () = {
701 ["Size of Clay__Clay_CornerRadiusWrapper"]
702 [::core::mem::size_of::<Clay__Clay_CornerRadiusWrapper>() - 16usize];
703 ["Alignment of Clay__Clay_CornerRadiusWrapper"]
704 [::core::mem::align_of::<Clay__Clay_CornerRadiusWrapper>() - 4usize];
705 ["Offset of field: Clay__Clay_CornerRadiusWrapper::wrapped"]
706 [::core::mem::offset_of!(Clay__Clay_CornerRadiusWrapper, wrapped) - 0usize];
707};
708pub const Clay__ElementConfigType_CLAY__ELEMENT_CONFIG_TYPE_NONE: Clay__ElementConfigType = 0;
709pub const Clay__ElementConfigType_CLAY__ELEMENT_CONFIG_TYPE_RECTANGLE: Clay__ElementConfigType = 1;
710pub const Clay__ElementConfigType_CLAY__ELEMENT_CONFIG_TYPE_BORDER_CONTAINER:
711 Clay__ElementConfigType = 2;
712pub const Clay__ElementConfigType_CLAY__ELEMENT_CONFIG_TYPE_FLOATING_CONTAINER:
713 Clay__ElementConfigType = 4;
714pub const Clay__ElementConfigType_CLAY__ELEMENT_CONFIG_TYPE_SCROLL_CONTAINER:
715 Clay__ElementConfigType = 8;
716pub const Clay__ElementConfigType_CLAY__ELEMENT_CONFIG_TYPE_IMAGE: Clay__ElementConfigType = 16;
717pub const Clay__ElementConfigType_CLAY__ELEMENT_CONFIG_TYPE_TEXT: Clay__ElementConfigType = 32;
718pub const Clay__ElementConfigType_CLAY__ELEMENT_CONFIG_TYPE_CUSTOM: Clay__ElementConfigType = 64;
719pub type Clay__ElementConfigType = ::core::ffi::c_uchar;
720#[repr(C)]
721#[derive(Debug, Copy, Clone)]
722pub struct Clay__AlignClay__ElementConfigType {
723 pub c: ::core::ffi::c_char,
724 pub x: Clay__ElementConfigType,
725}
726#[allow(clippy::unnecessary_operation, clippy::identity_op)]
727const _: () = {
728 ["Size of Clay__AlignClay__ElementConfigType"]
729 [::core::mem::size_of::<Clay__AlignClay__ElementConfigType>() - 2usize];
730 ["Alignment of Clay__AlignClay__ElementConfigType"]
731 [::core::mem::align_of::<Clay__AlignClay__ElementConfigType>() - 1usize];
732 ["Offset of field: Clay__AlignClay__ElementConfigType::c"]
733 [::core::mem::offset_of!(Clay__AlignClay__ElementConfigType, c) - 0usize];
734 ["Offset of field: Clay__AlignClay__ElementConfigType::x"]
735 [::core::mem::offset_of!(Clay__AlignClay__ElementConfigType, x) - 1usize];
736};
737#[repr(C)]
738#[derive(Debug, Copy, Clone)]
739pub struct Clay__Clay__ElementConfigTypeWrapper {
740 pub wrapped: Clay__ElementConfigType,
741}
742#[allow(clippy::unnecessary_operation, clippy::identity_op)]
743const _: () = {
744 ["Size of Clay__Clay__ElementConfigTypeWrapper"]
745 [::core::mem::size_of::<Clay__Clay__ElementConfigTypeWrapper>() - 1usize];
746 ["Alignment of Clay__Clay__ElementConfigTypeWrapper"]
747 [::core::mem::align_of::<Clay__Clay__ElementConfigTypeWrapper>() - 1usize];
748 ["Offset of field: Clay__Clay__ElementConfigTypeWrapper::wrapped"]
749 [::core::mem::offset_of!(Clay__Clay__ElementConfigTypeWrapper, wrapped) - 0usize];
750};
751pub const Clay_LayoutDirection_CLAY_LEFT_TO_RIGHT: Clay_LayoutDirection = 0;
752pub const Clay_LayoutDirection_CLAY_TOP_TO_BOTTOM: Clay_LayoutDirection = 1;
753pub type Clay_LayoutDirection = ::core::ffi::c_uchar;
754#[repr(C)]
755#[derive(Debug, Copy, Clone)]
756pub struct Clay__AlignClay_LayoutDirection {
757 pub c: ::core::ffi::c_char,
758 pub x: Clay_LayoutDirection,
759}
760#[allow(clippy::unnecessary_operation, clippy::identity_op)]
761const _: () = {
762 ["Size of Clay__AlignClay_LayoutDirection"]
763 [::core::mem::size_of::<Clay__AlignClay_LayoutDirection>() - 2usize];
764 ["Alignment of Clay__AlignClay_LayoutDirection"]
765 [::core::mem::align_of::<Clay__AlignClay_LayoutDirection>() - 1usize];
766 ["Offset of field: Clay__AlignClay_LayoutDirection::c"]
767 [::core::mem::offset_of!(Clay__AlignClay_LayoutDirection, c) - 0usize];
768 ["Offset of field: Clay__AlignClay_LayoutDirection::x"]
769 [::core::mem::offset_of!(Clay__AlignClay_LayoutDirection, x) - 1usize];
770};
771#[repr(C)]
772#[derive(Debug, Copy, Clone)]
773pub struct Clay__Clay_LayoutDirectionWrapper {
774 pub wrapped: Clay_LayoutDirection,
775}
776#[allow(clippy::unnecessary_operation, clippy::identity_op)]
777const _: () = {
778 ["Size of Clay__Clay_LayoutDirectionWrapper"]
779 [::core::mem::size_of::<Clay__Clay_LayoutDirectionWrapper>() - 1usize];
780 ["Alignment of Clay__Clay_LayoutDirectionWrapper"]
781 [::core::mem::align_of::<Clay__Clay_LayoutDirectionWrapper>() - 1usize];
782 ["Offset of field: Clay__Clay_LayoutDirectionWrapper::wrapped"]
783 [::core::mem::offset_of!(Clay__Clay_LayoutDirectionWrapper, wrapped) - 0usize];
784};
785pub const Clay_LayoutAlignmentX_CLAY_ALIGN_X_LEFT: Clay_LayoutAlignmentX = 0;
786pub const Clay_LayoutAlignmentX_CLAY_ALIGN_X_RIGHT: Clay_LayoutAlignmentX = 1;
787pub const Clay_LayoutAlignmentX_CLAY_ALIGN_X_CENTER: Clay_LayoutAlignmentX = 2;
788pub type Clay_LayoutAlignmentX = ::core::ffi::c_uchar;
789#[repr(C)]
790#[derive(Debug, Copy, Clone)]
791pub struct Clay__AlignClay_LayoutAlignmentX {
792 pub c: ::core::ffi::c_char,
793 pub x: Clay_LayoutAlignmentX,
794}
795#[allow(clippy::unnecessary_operation, clippy::identity_op)]
796const _: () = {
797 ["Size of Clay__AlignClay_LayoutAlignmentX"]
798 [::core::mem::size_of::<Clay__AlignClay_LayoutAlignmentX>() - 2usize];
799 ["Alignment of Clay__AlignClay_LayoutAlignmentX"]
800 [::core::mem::align_of::<Clay__AlignClay_LayoutAlignmentX>() - 1usize];
801 ["Offset of field: Clay__AlignClay_LayoutAlignmentX::c"]
802 [::core::mem::offset_of!(Clay__AlignClay_LayoutAlignmentX, c) - 0usize];
803 ["Offset of field: Clay__AlignClay_LayoutAlignmentX::x"]
804 [::core::mem::offset_of!(Clay__AlignClay_LayoutAlignmentX, x) - 1usize];
805};
806#[repr(C)]
807#[derive(Debug, Copy, Clone)]
808pub struct Clay__Clay_LayoutAlignmentXWrapper {
809 pub wrapped: Clay_LayoutAlignmentX,
810}
811#[allow(clippy::unnecessary_operation, clippy::identity_op)]
812const _: () = {
813 ["Size of Clay__Clay_LayoutAlignmentXWrapper"]
814 [::core::mem::size_of::<Clay__Clay_LayoutAlignmentXWrapper>() - 1usize];
815 ["Alignment of Clay__Clay_LayoutAlignmentXWrapper"]
816 [::core::mem::align_of::<Clay__Clay_LayoutAlignmentXWrapper>() - 1usize];
817 ["Offset of field: Clay__Clay_LayoutAlignmentXWrapper::wrapped"]
818 [::core::mem::offset_of!(Clay__Clay_LayoutAlignmentXWrapper, wrapped) - 0usize];
819};
820pub const Clay_LayoutAlignmentY_CLAY_ALIGN_Y_TOP: Clay_LayoutAlignmentY = 0;
821pub const Clay_LayoutAlignmentY_CLAY_ALIGN_Y_BOTTOM: Clay_LayoutAlignmentY = 1;
822pub const Clay_LayoutAlignmentY_CLAY_ALIGN_Y_CENTER: Clay_LayoutAlignmentY = 2;
823pub type Clay_LayoutAlignmentY = ::core::ffi::c_uchar;
824#[repr(C)]
825#[derive(Debug, Copy, Clone)]
826pub struct Clay__AlignClay_LayoutAlignmentY {
827 pub c: ::core::ffi::c_char,
828 pub x: Clay_LayoutAlignmentY,
829}
830#[allow(clippy::unnecessary_operation, clippy::identity_op)]
831const _: () = {
832 ["Size of Clay__AlignClay_LayoutAlignmentY"]
833 [::core::mem::size_of::<Clay__AlignClay_LayoutAlignmentY>() - 2usize];
834 ["Alignment of Clay__AlignClay_LayoutAlignmentY"]
835 [::core::mem::align_of::<Clay__AlignClay_LayoutAlignmentY>() - 1usize];
836 ["Offset of field: Clay__AlignClay_LayoutAlignmentY::c"]
837 [::core::mem::offset_of!(Clay__AlignClay_LayoutAlignmentY, c) - 0usize];
838 ["Offset of field: Clay__AlignClay_LayoutAlignmentY::x"]
839 [::core::mem::offset_of!(Clay__AlignClay_LayoutAlignmentY, x) - 1usize];
840};
841#[repr(C)]
842#[derive(Debug, Copy, Clone)]
843pub struct Clay__Clay_LayoutAlignmentYWrapper {
844 pub wrapped: Clay_LayoutAlignmentY,
845}
846#[allow(clippy::unnecessary_operation, clippy::identity_op)]
847const _: () = {
848 ["Size of Clay__Clay_LayoutAlignmentYWrapper"]
849 [::core::mem::size_of::<Clay__Clay_LayoutAlignmentYWrapper>() - 1usize];
850 ["Alignment of Clay__Clay_LayoutAlignmentYWrapper"]
851 [::core::mem::align_of::<Clay__Clay_LayoutAlignmentYWrapper>() - 1usize];
852 ["Offset of field: Clay__Clay_LayoutAlignmentYWrapper::wrapped"]
853 [::core::mem::offset_of!(Clay__Clay_LayoutAlignmentYWrapper, wrapped) - 0usize];
854};
855pub const Clay__SizingType_CLAY__SIZING_TYPE_FIT: Clay__SizingType = 0;
856pub const Clay__SizingType_CLAY__SIZING_TYPE_GROW: Clay__SizingType = 1;
857pub const Clay__SizingType_CLAY__SIZING_TYPE_PERCENT: Clay__SizingType = 2;
858pub const Clay__SizingType_CLAY__SIZING_TYPE_FIXED: Clay__SizingType = 3;
859pub type Clay__SizingType = ::core::ffi::c_uchar;
860#[repr(C)]
861#[derive(Debug, Copy, Clone)]
862pub struct Clay__AlignClay__SizingType {
863 pub c: ::core::ffi::c_char,
864 pub x: Clay__SizingType,
865}
866#[allow(clippy::unnecessary_operation, clippy::identity_op)]
867const _: () = {
868 ["Size of Clay__AlignClay__SizingType"]
869 [::core::mem::size_of::<Clay__AlignClay__SizingType>() - 2usize];
870 ["Alignment of Clay__AlignClay__SizingType"]
871 [::core::mem::align_of::<Clay__AlignClay__SizingType>() - 1usize];
872 ["Offset of field: Clay__AlignClay__SizingType::c"]
873 [::core::mem::offset_of!(Clay__AlignClay__SizingType, c) - 0usize];
874 ["Offset of field: Clay__AlignClay__SizingType::x"]
875 [::core::mem::offset_of!(Clay__AlignClay__SizingType, x) - 1usize];
876};
877#[repr(C)]
878#[derive(Debug, Copy, Clone)]
879pub struct Clay__Clay__SizingTypeWrapper {
880 pub wrapped: Clay__SizingType,
881}
882#[allow(clippy::unnecessary_operation, clippy::identity_op)]
883const _: () = {
884 ["Size of Clay__Clay__SizingTypeWrapper"]
885 [::core::mem::size_of::<Clay__Clay__SizingTypeWrapper>() - 1usize];
886 ["Alignment of Clay__Clay__SizingTypeWrapper"]
887 [::core::mem::align_of::<Clay__Clay__SizingTypeWrapper>() - 1usize];
888 ["Offset of field: Clay__Clay__SizingTypeWrapper::wrapped"]
889 [::core::mem::offset_of!(Clay__Clay__SizingTypeWrapper, wrapped) - 0usize];
890};
891#[repr(C)]
892#[derive(Debug, Copy, Clone)]
893pub struct Clay_ChildAlignment {
894 pub x: Clay_LayoutAlignmentX,
895 pub y: Clay_LayoutAlignmentY,
896}
897#[allow(clippy::unnecessary_operation, clippy::identity_op)]
898const _: () = {
899 ["Size of Clay_ChildAlignment"][::core::mem::size_of::<Clay_ChildAlignment>() - 2usize];
900 ["Alignment of Clay_ChildAlignment"][::core::mem::align_of::<Clay_ChildAlignment>() - 1usize];
901 ["Offset of field: Clay_ChildAlignment::x"]
902 [::core::mem::offset_of!(Clay_ChildAlignment, x) - 0usize];
903 ["Offset of field: Clay_ChildAlignment::y"]
904 [::core::mem::offset_of!(Clay_ChildAlignment, y) - 1usize];
905};
906#[repr(C)]
907#[derive(Debug, Copy, Clone)]
908pub struct Clay__AlignClay_ChildAlignment {
909 pub c: ::core::ffi::c_char,
910 pub x: Clay_ChildAlignment,
911}
912#[allow(clippy::unnecessary_operation, clippy::identity_op)]
913const _: () = {
914 ["Size of Clay__AlignClay_ChildAlignment"]
915 [::core::mem::size_of::<Clay__AlignClay_ChildAlignment>() - 3usize];
916 ["Alignment of Clay__AlignClay_ChildAlignment"]
917 [::core::mem::align_of::<Clay__AlignClay_ChildAlignment>() - 1usize];
918 ["Offset of field: Clay__AlignClay_ChildAlignment::c"]
919 [::core::mem::offset_of!(Clay__AlignClay_ChildAlignment, c) - 0usize];
920 ["Offset of field: Clay__AlignClay_ChildAlignment::x"]
921 [::core::mem::offset_of!(Clay__AlignClay_ChildAlignment, x) - 1usize];
922};
923#[repr(C)]
924#[derive(Debug, Copy, Clone)]
925pub struct Clay__Clay_ChildAlignmentWrapper {
926 pub wrapped: Clay_ChildAlignment,
927}
928#[allow(clippy::unnecessary_operation, clippy::identity_op)]
929const _: () = {
930 ["Size of Clay__Clay_ChildAlignmentWrapper"]
931 [::core::mem::size_of::<Clay__Clay_ChildAlignmentWrapper>() - 2usize];
932 ["Alignment of Clay__Clay_ChildAlignmentWrapper"]
933 [::core::mem::align_of::<Clay__Clay_ChildAlignmentWrapper>() - 1usize];
934 ["Offset of field: Clay__Clay_ChildAlignmentWrapper::wrapped"]
935 [::core::mem::offset_of!(Clay__Clay_ChildAlignmentWrapper, wrapped) - 0usize];
936};
937#[repr(C)]
938#[derive(Debug, Copy, Clone)]
939pub struct Clay_SizingMinMax {
940 pub min: f32,
941 pub max: f32,
942}
943#[allow(clippy::unnecessary_operation, clippy::identity_op)]
944const _: () = {
945 ["Size of Clay_SizingMinMax"][::core::mem::size_of::<Clay_SizingMinMax>() - 8usize];
946 ["Alignment of Clay_SizingMinMax"][::core::mem::align_of::<Clay_SizingMinMax>() - 4usize];
947 ["Offset of field: Clay_SizingMinMax::min"]
948 [::core::mem::offset_of!(Clay_SizingMinMax, min) - 0usize];
949 ["Offset of field: Clay_SizingMinMax::max"]
950 [::core::mem::offset_of!(Clay_SizingMinMax, max) - 4usize];
951};
952#[repr(C)]
953#[derive(Debug, Copy, Clone)]
954pub struct Clay__AlignClay_SizingMinMax {
955 pub c: ::core::ffi::c_char,
956 pub x: Clay_SizingMinMax,
957}
958#[allow(clippy::unnecessary_operation, clippy::identity_op)]
959const _: () = {
960 ["Size of Clay__AlignClay_SizingMinMax"]
961 [::core::mem::size_of::<Clay__AlignClay_SizingMinMax>() - 12usize];
962 ["Alignment of Clay__AlignClay_SizingMinMax"]
963 [::core::mem::align_of::<Clay__AlignClay_SizingMinMax>() - 4usize];
964 ["Offset of field: Clay__AlignClay_SizingMinMax::c"]
965 [::core::mem::offset_of!(Clay__AlignClay_SizingMinMax, c) - 0usize];
966 ["Offset of field: Clay__AlignClay_SizingMinMax::x"]
967 [::core::mem::offset_of!(Clay__AlignClay_SizingMinMax, x) - 4usize];
968};
969#[repr(C)]
970#[derive(Debug, Copy, Clone)]
971pub struct Clay__Clay_SizingMinMaxWrapper {
972 pub wrapped: Clay_SizingMinMax,
973}
974#[allow(clippy::unnecessary_operation, clippy::identity_op)]
975const _: () = {
976 ["Size of Clay__Clay_SizingMinMaxWrapper"]
977 [::core::mem::size_of::<Clay__Clay_SizingMinMaxWrapper>() - 8usize];
978 ["Alignment of Clay__Clay_SizingMinMaxWrapper"]
979 [::core::mem::align_of::<Clay__Clay_SizingMinMaxWrapper>() - 4usize];
980 ["Offset of field: Clay__Clay_SizingMinMaxWrapper::wrapped"]
981 [::core::mem::offset_of!(Clay__Clay_SizingMinMaxWrapper, wrapped) - 0usize];
982};
983#[repr(C)]
984#[derive(Copy, Clone)]
985pub struct Clay_SizingAxis {
986 pub size: Clay_SizingAxis__bindgen_ty_1,
987 pub type_: Clay__SizingType,
988}
989#[repr(C)]
990#[derive(Copy, Clone)]
991pub union Clay_SizingAxis__bindgen_ty_1 {
992 pub minMax: Clay_SizingMinMax,
993 pub percent: f32,
994}
995#[allow(clippy::unnecessary_operation, clippy::identity_op)]
996const _: () = {
997 ["Size of Clay_SizingAxis__bindgen_ty_1"]
998 [::core::mem::size_of::<Clay_SizingAxis__bindgen_ty_1>() - 8usize];
999 ["Alignment of Clay_SizingAxis__bindgen_ty_1"]
1000 [::core::mem::align_of::<Clay_SizingAxis__bindgen_ty_1>() - 4usize];
1001 ["Offset of field: Clay_SizingAxis__bindgen_ty_1::minMax"]
1002 [::core::mem::offset_of!(Clay_SizingAxis__bindgen_ty_1, minMax) - 0usize];
1003 ["Offset of field: Clay_SizingAxis__bindgen_ty_1::percent"]
1004 [::core::mem::offset_of!(Clay_SizingAxis__bindgen_ty_1, percent) - 0usize];
1005};
1006#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1007const _: () = {
1008 ["Size of Clay_SizingAxis"][::core::mem::size_of::<Clay_SizingAxis>() - 12usize];
1009 ["Alignment of Clay_SizingAxis"][::core::mem::align_of::<Clay_SizingAxis>() - 4usize];
1010 ["Offset of field: Clay_SizingAxis::size"]
1011 [::core::mem::offset_of!(Clay_SizingAxis, size) - 0usize];
1012 ["Offset of field: Clay_SizingAxis::type_"]
1013 [::core::mem::offset_of!(Clay_SizingAxis, type_) - 8usize];
1014};
1015#[repr(C)]
1016#[derive(Copy, Clone)]
1017pub struct Clay__AlignClay_SizingAxis {
1018 pub c: ::core::ffi::c_char,
1019 pub x: Clay_SizingAxis,
1020}
1021#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1022const _: () = {
1023 ["Size of Clay__AlignClay_SizingAxis"]
1024 [::core::mem::size_of::<Clay__AlignClay_SizingAxis>() - 16usize];
1025 ["Alignment of Clay__AlignClay_SizingAxis"]
1026 [::core::mem::align_of::<Clay__AlignClay_SizingAxis>() - 4usize];
1027 ["Offset of field: Clay__AlignClay_SizingAxis::c"]
1028 [::core::mem::offset_of!(Clay__AlignClay_SizingAxis, c) - 0usize];
1029 ["Offset of field: Clay__AlignClay_SizingAxis::x"]
1030 [::core::mem::offset_of!(Clay__AlignClay_SizingAxis, x) - 4usize];
1031};
1032#[repr(C)]
1033#[derive(Copy, Clone)]
1034pub struct Clay__Clay_SizingAxisWrapper {
1035 pub wrapped: Clay_SizingAxis,
1036}
1037#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1038const _: () = {
1039 ["Size of Clay__Clay_SizingAxisWrapper"]
1040 [::core::mem::size_of::<Clay__Clay_SizingAxisWrapper>() - 12usize];
1041 ["Alignment of Clay__Clay_SizingAxisWrapper"]
1042 [::core::mem::align_of::<Clay__Clay_SizingAxisWrapper>() - 4usize];
1043 ["Offset of field: Clay__Clay_SizingAxisWrapper::wrapped"]
1044 [::core::mem::offset_of!(Clay__Clay_SizingAxisWrapper, wrapped) - 0usize];
1045};
1046#[repr(C)]
1047#[derive(Copy, Clone)]
1048pub struct Clay_Sizing {
1049 pub width: Clay_SizingAxis,
1050 pub height: Clay_SizingAxis,
1051}
1052#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1053const _: () = {
1054 ["Size of Clay_Sizing"][::core::mem::size_of::<Clay_Sizing>() - 24usize];
1055 ["Alignment of Clay_Sizing"][::core::mem::align_of::<Clay_Sizing>() - 4usize];
1056 ["Offset of field: Clay_Sizing::width"][::core::mem::offset_of!(Clay_Sizing, width) - 0usize];
1057 ["Offset of field: Clay_Sizing::height"]
1058 [::core::mem::offset_of!(Clay_Sizing, height) - 12usize];
1059};
1060#[repr(C)]
1061#[derive(Copy, Clone)]
1062pub struct Clay__AlignClay_Sizing {
1063 pub c: ::core::ffi::c_char,
1064 pub x: Clay_Sizing,
1065}
1066#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1067const _: () = {
1068 ["Size of Clay__AlignClay_Sizing"][::core::mem::size_of::<Clay__AlignClay_Sizing>() - 28usize];
1069 ["Alignment of Clay__AlignClay_Sizing"]
1070 [::core::mem::align_of::<Clay__AlignClay_Sizing>() - 4usize];
1071 ["Offset of field: Clay__AlignClay_Sizing::c"]
1072 [::core::mem::offset_of!(Clay__AlignClay_Sizing, c) - 0usize];
1073 ["Offset of field: Clay__AlignClay_Sizing::x"]
1074 [::core::mem::offset_of!(Clay__AlignClay_Sizing, x) - 4usize];
1075};
1076#[repr(C)]
1077#[derive(Copy, Clone)]
1078pub struct Clay__Clay_SizingWrapper {
1079 pub wrapped: Clay_Sizing,
1080}
1081#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1082const _: () = {
1083 ["Size of Clay__Clay_SizingWrapper"]
1084 [::core::mem::size_of::<Clay__Clay_SizingWrapper>() - 24usize];
1085 ["Alignment of Clay__Clay_SizingWrapper"]
1086 [::core::mem::align_of::<Clay__Clay_SizingWrapper>() - 4usize];
1087 ["Offset of field: Clay__Clay_SizingWrapper::wrapped"]
1088 [::core::mem::offset_of!(Clay__Clay_SizingWrapper, wrapped) - 0usize];
1089};
1090#[repr(C)]
1091#[derive(Debug, Copy, Clone)]
1092pub struct Clay_Padding {
1093 pub left: u16,
1094 pub right: u16,
1095 pub top: u16,
1096 pub bottom: u16,
1097}
1098#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1099const _: () = {
1100 ["Size of Clay_Padding"][::core::mem::size_of::<Clay_Padding>() - 8usize];
1101 ["Alignment of Clay_Padding"][::core::mem::align_of::<Clay_Padding>() - 2usize];
1102 ["Offset of field: Clay_Padding::left"][::core::mem::offset_of!(Clay_Padding, left) - 0usize];
1103 ["Offset of field: Clay_Padding::right"][::core::mem::offset_of!(Clay_Padding, right) - 2usize];
1104 ["Offset of field: Clay_Padding::top"][::core::mem::offset_of!(Clay_Padding, top) - 4usize];
1105 ["Offset of field: Clay_Padding::bottom"]
1106 [::core::mem::offset_of!(Clay_Padding, bottom) - 6usize];
1107};
1108#[repr(C)]
1109#[derive(Debug, Copy, Clone)]
1110pub struct Clay__AlignClay_Padding {
1111 pub c: ::core::ffi::c_char,
1112 pub x: Clay_Padding,
1113}
1114#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1115const _: () = {
1116 ["Size of Clay__AlignClay_Padding"]
1117 [::core::mem::size_of::<Clay__AlignClay_Padding>() - 10usize];
1118 ["Alignment of Clay__AlignClay_Padding"]
1119 [::core::mem::align_of::<Clay__AlignClay_Padding>() - 2usize];
1120 ["Offset of field: Clay__AlignClay_Padding::c"]
1121 [::core::mem::offset_of!(Clay__AlignClay_Padding, c) - 0usize];
1122 ["Offset of field: Clay__AlignClay_Padding::x"]
1123 [::core::mem::offset_of!(Clay__AlignClay_Padding, x) - 2usize];
1124};
1125#[repr(C)]
1126#[derive(Debug, Copy, Clone)]
1127pub struct Clay__Clay_PaddingWrapper {
1128 pub wrapped: Clay_Padding,
1129}
1130#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1131const _: () = {
1132 ["Size of Clay__Clay_PaddingWrapper"]
1133 [::core::mem::size_of::<Clay__Clay_PaddingWrapper>() - 8usize];
1134 ["Alignment of Clay__Clay_PaddingWrapper"]
1135 [::core::mem::align_of::<Clay__Clay_PaddingWrapper>() - 2usize];
1136 ["Offset of field: Clay__Clay_PaddingWrapper::wrapped"]
1137 [::core::mem::offset_of!(Clay__Clay_PaddingWrapper, wrapped) - 0usize];
1138};
1139#[repr(C)]
1140#[derive(Copy, Clone)]
1141pub struct Clay_LayoutConfig {
1142 pub sizing: Clay_Sizing,
1143 pub padding: Clay_Padding,
1144 pub childGap: u16,
1145 pub childAlignment: Clay_ChildAlignment,
1146 pub layoutDirection: Clay_LayoutDirection,
1147}
1148#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1149const _: () = {
1150 ["Size of Clay_LayoutConfig"][::core::mem::size_of::<Clay_LayoutConfig>() - 40usize];
1151 ["Alignment of Clay_LayoutConfig"][::core::mem::align_of::<Clay_LayoutConfig>() - 4usize];
1152 ["Offset of field: Clay_LayoutConfig::sizing"]
1153 [::core::mem::offset_of!(Clay_LayoutConfig, sizing) - 0usize];
1154 ["Offset of field: Clay_LayoutConfig::padding"]
1155 [::core::mem::offset_of!(Clay_LayoutConfig, padding) - 24usize];
1156 ["Offset of field: Clay_LayoutConfig::childGap"]
1157 [::core::mem::offset_of!(Clay_LayoutConfig, childGap) - 32usize];
1158 ["Offset of field: Clay_LayoutConfig::childAlignment"]
1159 [::core::mem::offset_of!(Clay_LayoutConfig, childAlignment) - 34usize];
1160 ["Offset of field: Clay_LayoutConfig::layoutDirection"]
1161 [::core::mem::offset_of!(Clay_LayoutConfig, layoutDirection) - 36usize];
1162};
1163#[repr(C)]
1164#[derive(Copy, Clone)]
1165pub struct Clay__AlignClay_LayoutConfig {
1166 pub c: ::core::ffi::c_char,
1167 pub x: Clay_LayoutConfig,
1168}
1169#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1170const _: () = {
1171 ["Size of Clay__AlignClay_LayoutConfig"]
1172 [::core::mem::size_of::<Clay__AlignClay_LayoutConfig>() - 44usize];
1173 ["Alignment of Clay__AlignClay_LayoutConfig"]
1174 [::core::mem::align_of::<Clay__AlignClay_LayoutConfig>() - 4usize];
1175 ["Offset of field: Clay__AlignClay_LayoutConfig::c"]
1176 [::core::mem::offset_of!(Clay__AlignClay_LayoutConfig, c) - 0usize];
1177 ["Offset of field: Clay__AlignClay_LayoutConfig::x"]
1178 [::core::mem::offset_of!(Clay__AlignClay_LayoutConfig, x) - 4usize];
1179};
1180#[repr(C)]
1181#[derive(Copy, Clone)]
1182pub struct Clay__Clay_LayoutConfigWrapper {
1183 pub wrapped: Clay_LayoutConfig,
1184}
1185#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1186const _: () = {
1187 ["Size of Clay__Clay_LayoutConfigWrapper"]
1188 [::core::mem::size_of::<Clay__Clay_LayoutConfigWrapper>() - 40usize];
1189 ["Alignment of Clay__Clay_LayoutConfigWrapper"]
1190 [::core::mem::align_of::<Clay__Clay_LayoutConfigWrapper>() - 4usize];
1191 ["Offset of field: Clay__Clay_LayoutConfigWrapper::wrapped"]
1192 [::core::mem::offset_of!(Clay__Clay_LayoutConfigWrapper, wrapped) - 0usize];
1193};
1194unsafe extern "C" {
1195 pub static mut CLAY_LAYOUT_DEFAULT: Clay_LayoutConfig;
1196}
1197#[repr(C)]
1198#[derive(Debug, Copy, Clone)]
1199pub struct Clay_RectangleElementConfig {
1200 pub color: Clay_Color,
1201 pub cornerRadius: Clay_CornerRadius,
1202}
1203#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1204const _: () = {
1205 ["Size of Clay_RectangleElementConfig"]
1206 [::core::mem::size_of::<Clay_RectangleElementConfig>() - 32usize];
1207 ["Alignment of Clay_RectangleElementConfig"]
1208 [::core::mem::align_of::<Clay_RectangleElementConfig>() - 4usize];
1209 ["Offset of field: Clay_RectangleElementConfig::color"]
1210 [::core::mem::offset_of!(Clay_RectangleElementConfig, color) - 0usize];
1211 ["Offset of field: Clay_RectangleElementConfig::cornerRadius"]
1212 [::core::mem::offset_of!(Clay_RectangleElementConfig, cornerRadius) - 16usize];
1213};
1214#[repr(C)]
1215#[derive(Debug, Copy, Clone)]
1216pub struct Clay__AlignClay_RectangleElementConfig {
1217 pub c: ::core::ffi::c_char,
1218 pub x: Clay_RectangleElementConfig,
1219}
1220#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1221const _: () = {
1222 ["Size of Clay__AlignClay_RectangleElementConfig"]
1223 [::core::mem::size_of::<Clay__AlignClay_RectangleElementConfig>() - 36usize];
1224 ["Alignment of Clay__AlignClay_RectangleElementConfig"]
1225 [::core::mem::align_of::<Clay__AlignClay_RectangleElementConfig>() - 4usize];
1226 ["Offset of field: Clay__AlignClay_RectangleElementConfig::c"]
1227 [::core::mem::offset_of!(Clay__AlignClay_RectangleElementConfig, c) - 0usize];
1228 ["Offset of field: Clay__AlignClay_RectangleElementConfig::x"]
1229 [::core::mem::offset_of!(Clay__AlignClay_RectangleElementConfig, x) - 4usize];
1230};
1231#[repr(C)]
1232#[derive(Debug, Copy, Clone)]
1233pub struct Clay__Clay_RectangleElementConfigWrapper {
1234 pub wrapped: Clay_RectangleElementConfig,
1235}
1236#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1237const _: () = {
1238 ["Size of Clay__Clay_RectangleElementConfigWrapper"]
1239 [::core::mem::size_of::<Clay__Clay_RectangleElementConfigWrapper>() - 32usize];
1240 ["Alignment of Clay__Clay_RectangleElementConfigWrapper"]
1241 [::core::mem::align_of::<Clay__Clay_RectangleElementConfigWrapper>() - 4usize];
1242 ["Offset of field: Clay__Clay_RectangleElementConfigWrapper::wrapped"]
1243 [::core::mem::offset_of!(Clay__Clay_RectangleElementConfigWrapper, wrapped) - 0usize];
1244};
1245pub const Clay_TextElementConfigWrapMode_CLAY_TEXT_WRAP_WORDS: Clay_TextElementConfigWrapMode = 0;
1246pub const Clay_TextElementConfigWrapMode_CLAY_TEXT_WRAP_NEWLINES: Clay_TextElementConfigWrapMode =
1247 1;
1248pub const Clay_TextElementConfigWrapMode_CLAY_TEXT_WRAP_NONE: Clay_TextElementConfigWrapMode = 2;
1249pub type Clay_TextElementConfigWrapMode = ::core::ffi::c_uint;
1250#[repr(C)]
1251#[derive(Debug, Copy, Clone)]
1252pub struct Clay__AlignClay_TextElementConfigWrapMode {
1253 pub c: ::core::ffi::c_char,
1254 pub x: Clay_TextElementConfigWrapMode,
1255}
1256#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1257const _: () = {
1258 ["Size of Clay__AlignClay_TextElementConfigWrapMode"]
1259 [::core::mem::size_of::<Clay__AlignClay_TextElementConfigWrapMode>() - 8usize];
1260 ["Alignment of Clay__AlignClay_TextElementConfigWrapMode"]
1261 [::core::mem::align_of::<Clay__AlignClay_TextElementConfigWrapMode>() - 4usize];
1262 ["Offset of field: Clay__AlignClay_TextElementConfigWrapMode::c"]
1263 [::core::mem::offset_of!(Clay__AlignClay_TextElementConfigWrapMode, c) - 0usize];
1264 ["Offset of field: Clay__AlignClay_TextElementConfigWrapMode::x"]
1265 [::core::mem::offset_of!(Clay__AlignClay_TextElementConfigWrapMode, x) - 4usize];
1266};
1267#[repr(C)]
1268#[derive(Debug, Copy, Clone)]
1269pub struct Clay__Clay_TextElementConfigWrapModeWrapper {
1270 pub wrapped: Clay_TextElementConfigWrapMode,
1271}
1272#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1273const _: () = {
1274 ["Size of Clay__Clay_TextElementConfigWrapModeWrapper"]
1275 [::core::mem::size_of::<Clay__Clay_TextElementConfigWrapModeWrapper>() - 4usize];
1276 ["Alignment of Clay__Clay_TextElementConfigWrapModeWrapper"]
1277 [::core::mem::align_of::<Clay__Clay_TextElementConfigWrapModeWrapper>() - 4usize];
1278 ["Offset of field: Clay__Clay_TextElementConfigWrapModeWrapper::wrapped"]
1279 [::core::mem::offset_of!(Clay__Clay_TextElementConfigWrapModeWrapper, wrapped) - 0usize];
1280};
1281#[repr(C)]
1282#[derive(Debug, Copy, Clone)]
1283pub struct Clay_TextElementConfig {
1284 pub textColor: Clay_Color,
1285 pub fontId: u16,
1286 pub fontSize: u16,
1287 pub letterSpacing: u16,
1288 pub lineHeight: u16,
1289 pub wrapMode: Clay_TextElementConfigWrapMode,
1290}
1291#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1292const _: () = {
1293 ["Size of Clay_TextElementConfig"][::core::mem::size_of::<Clay_TextElementConfig>() - 28usize];
1294 ["Alignment of Clay_TextElementConfig"]
1295 [::core::mem::align_of::<Clay_TextElementConfig>() - 4usize];
1296 ["Offset of field: Clay_TextElementConfig::textColor"]
1297 [::core::mem::offset_of!(Clay_TextElementConfig, textColor) - 0usize];
1298 ["Offset of field: Clay_TextElementConfig::fontId"]
1299 [::core::mem::offset_of!(Clay_TextElementConfig, fontId) - 16usize];
1300 ["Offset of field: Clay_TextElementConfig::fontSize"]
1301 [::core::mem::offset_of!(Clay_TextElementConfig, fontSize) - 18usize];
1302 ["Offset of field: Clay_TextElementConfig::letterSpacing"]
1303 [::core::mem::offset_of!(Clay_TextElementConfig, letterSpacing) - 20usize];
1304 ["Offset of field: Clay_TextElementConfig::lineHeight"]
1305 [::core::mem::offset_of!(Clay_TextElementConfig, lineHeight) - 22usize];
1306 ["Offset of field: Clay_TextElementConfig::wrapMode"]
1307 [::core::mem::offset_of!(Clay_TextElementConfig, wrapMode) - 24usize];
1308};
1309#[repr(C)]
1310#[derive(Debug, Copy, Clone)]
1311pub struct Clay__AlignClay_TextElementConfig {
1312 pub c: ::core::ffi::c_char,
1313 pub x: Clay_TextElementConfig,
1314}
1315#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1316const _: () = {
1317 ["Size of Clay__AlignClay_TextElementConfig"]
1318 [::core::mem::size_of::<Clay__AlignClay_TextElementConfig>() - 32usize];
1319 ["Alignment of Clay__AlignClay_TextElementConfig"]
1320 [::core::mem::align_of::<Clay__AlignClay_TextElementConfig>() - 4usize];
1321 ["Offset of field: Clay__AlignClay_TextElementConfig::c"]
1322 [::core::mem::offset_of!(Clay__AlignClay_TextElementConfig, c) - 0usize];
1323 ["Offset of field: Clay__AlignClay_TextElementConfig::x"]
1324 [::core::mem::offset_of!(Clay__AlignClay_TextElementConfig, x) - 4usize];
1325};
1326#[repr(C)]
1327#[derive(Debug, Copy, Clone)]
1328pub struct Clay__Clay_TextElementConfigWrapper {
1329 pub wrapped: Clay_TextElementConfig,
1330}
1331#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1332const _: () = {
1333 ["Size of Clay__Clay_TextElementConfigWrapper"]
1334 [::core::mem::size_of::<Clay__Clay_TextElementConfigWrapper>() - 28usize];
1335 ["Alignment of Clay__Clay_TextElementConfigWrapper"]
1336 [::core::mem::align_of::<Clay__Clay_TextElementConfigWrapper>() - 4usize];
1337 ["Offset of field: Clay__Clay_TextElementConfigWrapper::wrapped"]
1338 [::core::mem::offset_of!(Clay__Clay_TextElementConfigWrapper, wrapped) - 0usize];
1339};
1340#[repr(C)]
1341#[derive(Debug, Copy, Clone)]
1342pub struct Clay_ImageElementConfig {
1343 pub imageData: *mut ::core::ffi::c_void,
1344 pub sourceDimensions: Clay_Dimensions,
1345}
1346#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1347const _: () = {
1348 ["Size of Clay_ImageElementConfig"]
1349 [::core::mem::size_of::<Clay_ImageElementConfig>() - 16usize];
1350 ["Alignment of Clay_ImageElementConfig"]
1351 [::core::mem::align_of::<Clay_ImageElementConfig>() - 8usize];
1352 ["Offset of field: Clay_ImageElementConfig::imageData"]
1353 [::core::mem::offset_of!(Clay_ImageElementConfig, imageData) - 0usize];
1354 ["Offset of field: Clay_ImageElementConfig::sourceDimensions"]
1355 [::core::mem::offset_of!(Clay_ImageElementConfig, sourceDimensions) - 8usize];
1356};
1357#[repr(C)]
1358#[derive(Debug, Copy, Clone)]
1359pub struct Clay__AlignClay_ImageElementConfig {
1360 pub c: ::core::ffi::c_char,
1361 pub x: Clay_ImageElementConfig,
1362}
1363#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1364const _: () = {
1365 ["Size of Clay__AlignClay_ImageElementConfig"]
1366 [::core::mem::size_of::<Clay__AlignClay_ImageElementConfig>() - 24usize];
1367 ["Alignment of Clay__AlignClay_ImageElementConfig"]
1368 [::core::mem::align_of::<Clay__AlignClay_ImageElementConfig>() - 8usize];
1369 ["Offset of field: Clay__AlignClay_ImageElementConfig::c"]
1370 [::core::mem::offset_of!(Clay__AlignClay_ImageElementConfig, c) - 0usize];
1371 ["Offset of field: Clay__AlignClay_ImageElementConfig::x"]
1372 [::core::mem::offset_of!(Clay__AlignClay_ImageElementConfig, x) - 8usize];
1373};
1374#[repr(C)]
1375#[derive(Debug, Copy, Clone)]
1376pub struct Clay__Clay_ImageElementConfigWrapper {
1377 pub wrapped: Clay_ImageElementConfig,
1378}
1379#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1380const _: () = {
1381 ["Size of Clay__Clay_ImageElementConfigWrapper"]
1382 [::core::mem::size_of::<Clay__Clay_ImageElementConfigWrapper>() - 16usize];
1383 ["Alignment of Clay__Clay_ImageElementConfigWrapper"]
1384 [::core::mem::align_of::<Clay__Clay_ImageElementConfigWrapper>() - 8usize];
1385 ["Offset of field: Clay__Clay_ImageElementConfigWrapper::wrapped"]
1386 [::core::mem::offset_of!(Clay__Clay_ImageElementConfigWrapper, wrapped) - 0usize];
1387};
1388pub const Clay_FloatingAttachPointType_CLAY_ATTACH_POINT_LEFT_TOP: Clay_FloatingAttachPointType = 0;
1389pub const Clay_FloatingAttachPointType_CLAY_ATTACH_POINT_LEFT_CENTER: Clay_FloatingAttachPointType =
1390 1;
1391pub const Clay_FloatingAttachPointType_CLAY_ATTACH_POINT_LEFT_BOTTOM: Clay_FloatingAttachPointType =
1392 2;
1393pub const Clay_FloatingAttachPointType_CLAY_ATTACH_POINT_CENTER_TOP: Clay_FloatingAttachPointType =
1394 3;
1395pub const Clay_FloatingAttachPointType_CLAY_ATTACH_POINT_CENTER_CENTER:
1396 Clay_FloatingAttachPointType = 4;
1397pub const Clay_FloatingAttachPointType_CLAY_ATTACH_POINT_CENTER_BOTTOM:
1398 Clay_FloatingAttachPointType = 5;
1399pub const Clay_FloatingAttachPointType_CLAY_ATTACH_POINT_RIGHT_TOP: Clay_FloatingAttachPointType =
1400 6;
1401pub const Clay_FloatingAttachPointType_CLAY_ATTACH_POINT_RIGHT_CENTER:
1402 Clay_FloatingAttachPointType = 7;
1403pub const Clay_FloatingAttachPointType_CLAY_ATTACH_POINT_RIGHT_BOTTOM:
1404 Clay_FloatingAttachPointType = 8;
1405pub type Clay_FloatingAttachPointType = ::core::ffi::c_uchar;
1406#[repr(C)]
1407#[derive(Debug, Copy, Clone)]
1408pub struct Clay__AlignClay_FloatingAttachPointType {
1409 pub c: ::core::ffi::c_char,
1410 pub x: Clay_FloatingAttachPointType,
1411}
1412#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1413const _: () = {
1414 ["Size of Clay__AlignClay_FloatingAttachPointType"]
1415 [::core::mem::size_of::<Clay__AlignClay_FloatingAttachPointType>() - 2usize];
1416 ["Alignment of Clay__AlignClay_FloatingAttachPointType"]
1417 [::core::mem::align_of::<Clay__AlignClay_FloatingAttachPointType>() - 1usize];
1418 ["Offset of field: Clay__AlignClay_FloatingAttachPointType::c"]
1419 [::core::mem::offset_of!(Clay__AlignClay_FloatingAttachPointType, c) - 0usize];
1420 ["Offset of field: Clay__AlignClay_FloatingAttachPointType::x"]
1421 [::core::mem::offset_of!(Clay__AlignClay_FloatingAttachPointType, x) - 1usize];
1422};
1423#[repr(C)]
1424#[derive(Debug, Copy, Clone)]
1425pub struct Clay__Clay_FloatingAttachPointTypeWrapper {
1426 pub wrapped: Clay_FloatingAttachPointType,
1427}
1428#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1429const _: () = {
1430 ["Size of Clay__Clay_FloatingAttachPointTypeWrapper"]
1431 [::core::mem::size_of::<Clay__Clay_FloatingAttachPointTypeWrapper>() - 1usize];
1432 ["Alignment of Clay__Clay_FloatingAttachPointTypeWrapper"]
1433 [::core::mem::align_of::<Clay__Clay_FloatingAttachPointTypeWrapper>() - 1usize];
1434 ["Offset of field: Clay__Clay_FloatingAttachPointTypeWrapper::wrapped"]
1435 [::core::mem::offset_of!(Clay__Clay_FloatingAttachPointTypeWrapper, wrapped) - 0usize];
1436};
1437#[repr(C)]
1438#[derive(Debug, Copy, Clone)]
1439pub struct Clay_FloatingAttachPoints {
1440 pub element: Clay_FloatingAttachPointType,
1441 pub parent: Clay_FloatingAttachPointType,
1442}
1443#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1444const _: () = {
1445 ["Size of Clay_FloatingAttachPoints"]
1446 [::core::mem::size_of::<Clay_FloatingAttachPoints>() - 2usize];
1447 ["Alignment of Clay_FloatingAttachPoints"]
1448 [::core::mem::align_of::<Clay_FloatingAttachPoints>() - 1usize];
1449 ["Offset of field: Clay_FloatingAttachPoints::element"]
1450 [::core::mem::offset_of!(Clay_FloatingAttachPoints, element) - 0usize];
1451 ["Offset of field: Clay_FloatingAttachPoints::parent"]
1452 [::core::mem::offset_of!(Clay_FloatingAttachPoints, parent) - 1usize];
1453};
1454#[repr(C)]
1455#[derive(Debug, Copy, Clone)]
1456pub struct Clay__AlignClay_FloatingAttachPoints {
1457 pub c: ::core::ffi::c_char,
1458 pub x: Clay_FloatingAttachPoints,
1459}
1460#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1461const _: () = {
1462 ["Size of Clay__AlignClay_FloatingAttachPoints"]
1463 [::core::mem::size_of::<Clay__AlignClay_FloatingAttachPoints>() - 3usize];
1464 ["Alignment of Clay__AlignClay_FloatingAttachPoints"]
1465 [::core::mem::align_of::<Clay__AlignClay_FloatingAttachPoints>() - 1usize];
1466 ["Offset of field: Clay__AlignClay_FloatingAttachPoints::c"]
1467 [::core::mem::offset_of!(Clay__AlignClay_FloatingAttachPoints, c) - 0usize];
1468 ["Offset of field: Clay__AlignClay_FloatingAttachPoints::x"]
1469 [::core::mem::offset_of!(Clay__AlignClay_FloatingAttachPoints, x) - 1usize];
1470};
1471#[repr(C)]
1472#[derive(Debug, Copy, Clone)]
1473pub struct Clay__Clay_FloatingAttachPointsWrapper {
1474 pub wrapped: Clay_FloatingAttachPoints,
1475}
1476#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1477const _: () = {
1478 ["Size of Clay__Clay_FloatingAttachPointsWrapper"]
1479 [::core::mem::size_of::<Clay__Clay_FloatingAttachPointsWrapper>() - 2usize];
1480 ["Alignment of Clay__Clay_FloatingAttachPointsWrapper"]
1481 [::core::mem::align_of::<Clay__Clay_FloatingAttachPointsWrapper>() - 1usize];
1482 ["Offset of field: Clay__Clay_FloatingAttachPointsWrapper::wrapped"]
1483 [::core::mem::offset_of!(Clay__Clay_FloatingAttachPointsWrapper, wrapped) - 0usize];
1484};
1485pub const Clay_PointerCaptureMode_CLAY_POINTER_CAPTURE_MODE_CAPTURE: Clay_PointerCaptureMode = 0;
1486pub const Clay_PointerCaptureMode_CLAY_POINTER_CAPTURE_MODE_PASSTHROUGH: Clay_PointerCaptureMode =
1487 1;
1488pub type Clay_PointerCaptureMode = ::core::ffi::c_uint;
1489#[repr(C)]
1490#[derive(Debug, Copy, Clone)]
1491pub struct Clay__AlignClay_PointerCaptureMode {
1492 pub c: ::core::ffi::c_char,
1493 pub x: Clay_PointerCaptureMode,
1494}
1495#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1496const _: () = {
1497 ["Size of Clay__AlignClay_PointerCaptureMode"]
1498 [::core::mem::size_of::<Clay__AlignClay_PointerCaptureMode>() - 8usize];
1499 ["Alignment of Clay__AlignClay_PointerCaptureMode"]
1500 [::core::mem::align_of::<Clay__AlignClay_PointerCaptureMode>() - 4usize];
1501 ["Offset of field: Clay__AlignClay_PointerCaptureMode::c"]
1502 [::core::mem::offset_of!(Clay__AlignClay_PointerCaptureMode, c) - 0usize];
1503 ["Offset of field: Clay__AlignClay_PointerCaptureMode::x"]
1504 [::core::mem::offset_of!(Clay__AlignClay_PointerCaptureMode, x) - 4usize];
1505};
1506#[repr(C)]
1507#[derive(Debug, Copy, Clone)]
1508pub struct Clay__Clay_PointerCaptureModeWrapper {
1509 pub wrapped: Clay_PointerCaptureMode,
1510}
1511#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1512const _: () = {
1513 ["Size of Clay__Clay_PointerCaptureModeWrapper"]
1514 [::core::mem::size_of::<Clay__Clay_PointerCaptureModeWrapper>() - 4usize];
1515 ["Alignment of Clay__Clay_PointerCaptureModeWrapper"]
1516 [::core::mem::align_of::<Clay__Clay_PointerCaptureModeWrapper>() - 4usize];
1517 ["Offset of field: Clay__Clay_PointerCaptureModeWrapper::wrapped"]
1518 [::core::mem::offset_of!(Clay__Clay_PointerCaptureModeWrapper, wrapped) - 0usize];
1519};
1520#[repr(C)]
1521#[derive(Debug, Copy, Clone)]
1522pub struct Clay_FloatingElementConfig {
1523 pub offset: Clay_Vector2,
1524 pub expand: Clay_Dimensions,
1525 pub zIndex: u16,
1526 pub parentId: u32,
1527 pub attachment: Clay_FloatingAttachPoints,
1528 pub pointerCaptureMode: Clay_PointerCaptureMode,
1529}
1530#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1531const _: () = {
1532 ["Size of Clay_FloatingElementConfig"]
1533 [::core::mem::size_of::<Clay_FloatingElementConfig>() - 32usize];
1534 ["Alignment of Clay_FloatingElementConfig"]
1535 [::core::mem::align_of::<Clay_FloatingElementConfig>() - 4usize];
1536 ["Offset of field: Clay_FloatingElementConfig::offset"]
1537 [::core::mem::offset_of!(Clay_FloatingElementConfig, offset) - 0usize];
1538 ["Offset of field: Clay_FloatingElementConfig::expand"]
1539 [::core::mem::offset_of!(Clay_FloatingElementConfig, expand) - 8usize];
1540 ["Offset of field: Clay_FloatingElementConfig::zIndex"]
1541 [::core::mem::offset_of!(Clay_FloatingElementConfig, zIndex) - 16usize];
1542 ["Offset of field: Clay_FloatingElementConfig::parentId"]
1543 [::core::mem::offset_of!(Clay_FloatingElementConfig, parentId) - 20usize];
1544 ["Offset of field: Clay_FloatingElementConfig::attachment"]
1545 [::core::mem::offset_of!(Clay_FloatingElementConfig, attachment) - 24usize];
1546 ["Offset of field: Clay_FloatingElementConfig::pointerCaptureMode"]
1547 [::core::mem::offset_of!(Clay_FloatingElementConfig, pointerCaptureMode) - 28usize];
1548};
1549#[repr(C)]
1550#[derive(Debug, Copy, Clone)]
1551pub struct Clay__AlignClay_FloatingElementConfig {
1552 pub c: ::core::ffi::c_char,
1553 pub x: Clay_FloatingElementConfig,
1554}
1555#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1556const _: () = {
1557 ["Size of Clay__AlignClay_FloatingElementConfig"]
1558 [::core::mem::size_of::<Clay__AlignClay_FloatingElementConfig>() - 36usize];
1559 ["Alignment of Clay__AlignClay_FloatingElementConfig"]
1560 [::core::mem::align_of::<Clay__AlignClay_FloatingElementConfig>() - 4usize];
1561 ["Offset of field: Clay__AlignClay_FloatingElementConfig::c"]
1562 [::core::mem::offset_of!(Clay__AlignClay_FloatingElementConfig, c) - 0usize];
1563 ["Offset of field: Clay__AlignClay_FloatingElementConfig::x"]
1564 [::core::mem::offset_of!(Clay__AlignClay_FloatingElementConfig, x) - 4usize];
1565};
1566#[repr(C)]
1567#[derive(Debug, Copy, Clone)]
1568pub struct Clay__Clay_FloatingElementConfigWrapper {
1569 pub wrapped: Clay_FloatingElementConfig,
1570}
1571#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1572const _: () = {
1573 ["Size of Clay__Clay_FloatingElementConfigWrapper"]
1574 [::core::mem::size_of::<Clay__Clay_FloatingElementConfigWrapper>() - 32usize];
1575 ["Alignment of Clay__Clay_FloatingElementConfigWrapper"]
1576 [::core::mem::align_of::<Clay__Clay_FloatingElementConfigWrapper>() - 4usize];
1577 ["Offset of field: Clay__Clay_FloatingElementConfigWrapper::wrapped"]
1578 [::core::mem::offset_of!(Clay__Clay_FloatingElementConfigWrapper, wrapped) - 0usize];
1579};
1580#[repr(C)]
1581#[derive(Debug, Copy, Clone)]
1582pub struct Clay_CustomElementConfig {
1583 pub customData: *mut ::core::ffi::c_void,
1584}
1585#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1586const _: () = {
1587 ["Size of Clay_CustomElementConfig"]
1588 [::core::mem::size_of::<Clay_CustomElementConfig>() - 8usize];
1589 ["Alignment of Clay_CustomElementConfig"]
1590 [::core::mem::align_of::<Clay_CustomElementConfig>() - 8usize];
1591 ["Offset of field: Clay_CustomElementConfig::customData"]
1592 [::core::mem::offset_of!(Clay_CustomElementConfig, customData) - 0usize];
1593};
1594#[repr(C)]
1595#[derive(Debug, Copy, Clone)]
1596pub struct Clay__AlignClay_CustomElementConfig {
1597 pub c: ::core::ffi::c_char,
1598 pub x: Clay_CustomElementConfig,
1599}
1600#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1601const _: () = {
1602 ["Size of Clay__AlignClay_CustomElementConfig"]
1603 [::core::mem::size_of::<Clay__AlignClay_CustomElementConfig>() - 16usize];
1604 ["Alignment of Clay__AlignClay_CustomElementConfig"]
1605 [::core::mem::align_of::<Clay__AlignClay_CustomElementConfig>() - 8usize];
1606 ["Offset of field: Clay__AlignClay_CustomElementConfig::c"]
1607 [::core::mem::offset_of!(Clay__AlignClay_CustomElementConfig, c) - 0usize];
1608 ["Offset of field: Clay__AlignClay_CustomElementConfig::x"]
1609 [::core::mem::offset_of!(Clay__AlignClay_CustomElementConfig, x) - 8usize];
1610};
1611#[repr(C)]
1612#[derive(Debug, Copy, Clone)]
1613pub struct Clay__Clay_CustomElementConfigWrapper {
1614 pub wrapped: Clay_CustomElementConfig,
1615}
1616#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1617const _: () = {
1618 ["Size of Clay__Clay_CustomElementConfigWrapper"]
1619 [::core::mem::size_of::<Clay__Clay_CustomElementConfigWrapper>() - 8usize];
1620 ["Alignment of Clay__Clay_CustomElementConfigWrapper"]
1621 [::core::mem::align_of::<Clay__Clay_CustomElementConfigWrapper>() - 8usize];
1622 ["Offset of field: Clay__Clay_CustomElementConfigWrapper::wrapped"]
1623 [::core::mem::offset_of!(Clay__Clay_CustomElementConfigWrapper, wrapped) - 0usize];
1624};
1625#[repr(C)]
1626#[derive(Debug, Copy, Clone)]
1627pub struct Clay_ScrollElementConfig {
1628 pub horizontal: bool,
1629 pub vertical: bool,
1630}
1631#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1632const _: () = {
1633 ["Size of Clay_ScrollElementConfig"]
1634 [::core::mem::size_of::<Clay_ScrollElementConfig>() - 2usize];
1635 ["Alignment of Clay_ScrollElementConfig"]
1636 [::core::mem::align_of::<Clay_ScrollElementConfig>() - 1usize];
1637 ["Offset of field: Clay_ScrollElementConfig::horizontal"]
1638 [::core::mem::offset_of!(Clay_ScrollElementConfig, horizontal) - 0usize];
1639 ["Offset of field: Clay_ScrollElementConfig::vertical"]
1640 [::core::mem::offset_of!(Clay_ScrollElementConfig, vertical) - 1usize];
1641};
1642#[repr(C)]
1643#[derive(Debug, Copy, Clone)]
1644pub struct Clay__AlignClay_ScrollElementConfig {
1645 pub c: ::core::ffi::c_char,
1646 pub x: Clay_ScrollElementConfig,
1647}
1648#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1649const _: () = {
1650 ["Size of Clay__AlignClay_ScrollElementConfig"]
1651 [::core::mem::size_of::<Clay__AlignClay_ScrollElementConfig>() - 3usize];
1652 ["Alignment of Clay__AlignClay_ScrollElementConfig"]
1653 [::core::mem::align_of::<Clay__AlignClay_ScrollElementConfig>() - 1usize];
1654 ["Offset of field: Clay__AlignClay_ScrollElementConfig::c"]
1655 [::core::mem::offset_of!(Clay__AlignClay_ScrollElementConfig, c) - 0usize];
1656 ["Offset of field: Clay__AlignClay_ScrollElementConfig::x"]
1657 [::core::mem::offset_of!(Clay__AlignClay_ScrollElementConfig, x) - 1usize];
1658};
1659#[repr(C)]
1660#[derive(Debug, Copy, Clone)]
1661pub struct Clay__Clay_ScrollElementConfigWrapper {
1662 pub wrapped: Clay_ScrollElementConfig,
1663}
1664#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1665const _: () = {
1666 ["Size of Clay__Clay_ScrollElementConfigWrapper"]
1667 [::core::mem::size_of::<Clay__Clay_ScrollElementConfigWrapper>() - 2usize];
1668 ["Alignment of Clay__Clay_ScrollElementConfigWrapper"]
1669 [::core::mem::align_of::<Clay__Clay_ScrollElementConfigWrapper>() - 1usize];
1670 ["Offset of field: Clay__Clay_ScrollElementConfigWrapper::wrapped"]
1671 [::core::mem::offset_of!(Clay__Clay_ScrollElementConfigWrapper, wrapped) - 0usize];
1672};
1673#[repr(C)]
1674#[derive(Debug, Copy, Clone)]
1675pub struct Clay_Border {
1676 pub width: u32,
1677 pub color: Clay_Color,
1678}
1679#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1680const _: () = {
1681 ["Size of Clay_Border"][::core::mem::size_of::<Clay_Border>() - 20usize];
1682 ["Alignment of Clay_Border"][::core::mem::align_of::<Clay_Border>() - 4usize];
1683 ["Offset of field: Clay_Border::width"][::core::mem::offset_of!(Clay_Border, width) - 0usize];
1684 ["Offset of field: Clay_Border::color"][::core::mem::offset_of!(Clay_Border, color) - 4usize];
1685};
1686#[repr(C)]
1687#[derive(Debug, Copy, Clone)]
1688pub struct Clay__AlignClay_Border {
1689 pub c: ::core::ffi::c_char,
1690 pub x: Clay_Border,
1691}
1692#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1693const _: () = {
1694 ["Size of Clay__AlignClay_Border"][::core::mem::size_of::<Clay__AlignClay_Border>() - 24usize];
1695 ["Alignment of Clay__AlignClay_Border"]
1696 [::core::mem::align_of::<Clay__AlignClay_Border>() - 4usize];
1697 ["Offset of field: Clay__AlignClay_Border::c"]
1698 [::core::mem::offset_of!(Clay__AlignClay_Border, c) - 0usize];
1699 ["Offset of field: Clay__AlignClay_Border::x"]
1700 [::core::mem::offset_of!(Clay__AlignClay_Border, x) - 4usize];
1701};
1702#[repr(C)]
1703#[derive(Debug, Copy, Clone)]
1704pub struct Clay__Clay_BorderWrapper {
1705 pub wrapped: Clay_Border,
1706}
1707#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1708const _: () = {
1709 ["Size of Clay__Clay_BorderWrapper"]
1710 [::core::mem::size_of::<Clay__Clay_BorderWrapper>() - 20usize];
1711 ["Alignment of Clay__Clay_BorderWrapper"]
1712 [::core::mem::align_of::<Clay__Clay_BorderWrapper>() - 4usize];
1713 ["Offset of field: Clay__Clay_BorderWrapper::wrapped"]
1714 [::core::mem::offset_of!(Clay__Clay_BorderWrapper, wrapped) - 0usize];
1715};
1716#[repr(C)]
1717#[derive(Debug, Copy, Clone)]
1718pub struct Clay_BorderElementConfig {
1719 pub left: Clay_Border,
1720 pub right: Clay_Border,
1721 pub top: Clay_Border,
1722 pub bottom: Clay_Border,
1723 pub betweenChildren: Clay_Border,
1724 pub cornerRadius: Clay_CornerRadius,
1725}
1726#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1727const _: () = {
1728 ["Size of Clay_BorderElementConfig"]
1729 [::core::mem::size_of::<Clay_BorderElementConfig>() - 116usize];
1730 ["Alignment of Clay_BorderElementConfig"]
1731 [::core::mem::align_of::<Clay_BorderElementConfig>() - 4usize];
1732 ["Offset of field: Clay_BorderElementConfig::left"]
1733 [::core::mem::offset_of!(Clay_BorderElementConfig, left) - 0usize];
1734 ["Offset of field: Clay_BorderElementConfig::right"]
1735 [::core::mem::offset_of!(Clay_BorderElementConfig, right) - 20usize];
1736 ["Offset of field: Clay_BorderElementConfig::top"]
1737 [::core::mem::offset_of!(Clay_BorderElementConfig, top) - 40usize];
1738 ["Offset of field: Clay_BorderElementConfig::bottom"]
1739 [::core::mem::offset_of!(Clay_BorderElementConfig, bottom) - 60usize];
1740 ["Offset of field: Clay_BorderElementConfig::betweenChildren"]
1741 [::core::mem::offset_of!(Clay_BorderElementConfig, betweenChildren) - 80usize];
1742 ["Offset of field: Clay_BorderElementConfig::cornerRadius"]
1743 [::core::mem::offset_of!(Clay_BorderElementConfig, cornerRadius) - 100usize];
1744};
1745#[repr(C)]
1746#[derive(Debug, Copy, Clone)]
1747pub struct Clay__AlignClay_BorderElementConfig {
1748 pub c: ::core::ffi::c_char,
1749 pub x: Clay_BorderElementConfig,
1750}
1751#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1752const _: () = {
1753 ["Size of Clay__AlignClay_BorderElementConfig"]
1754 [::core::mem::size_of::<Clay__AlignClay_BorderElementConfig>() - 120usize];
1755 ["Alignment of Clay__AlignClay_BorderElementConfig"]
1756 [::core::mem::align_of::<Clay__AlignClay_BorderElementConfig>() - 4usize];
1757 ["Offset of field: Clay__AlignClay_BorderElementConfig::c"]
1758 [::core::mem::offset_of!(Clay__AlignClay_BorderElementConfig, c) - 0usize];
1759 ["Offset of field: Clay__AlignClay_BorderElementConfig::x"]
1760 [::core::mem::offset_of!(Clay__AlignClay_BorderElementConfig, x) - 4usize];
1761};
1762#[repr(C)]
1763#[derive(Debug, Copy, Clone)]
1764pub struct Clay__Clay_BorderElementConfigWrapper {
1765 pub wrapped: Clay_BorderElementConfig,
1766}
1767#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1768const _: () = {
1769 ["Size of Clay__Clay_BorderElementConfigWrapper"]
1770 [::core::mem::size_of::<Clay__Clay_BorderElementConfigWrapper>() - 116usize];
1771 ["Alignment of Clay__Clay_BorderElementConfigWrapper"]
1772 [::core::mem::align_of::<Clay__Clay_BorderElementConfigWrapper>() - 4usize];
1773 ["Offset of field: Clay__Clay_BorderElementConfigWrapper::wrapped"]
1774 [::core::mem::offset_of!(Clay__Clay_BorderElementConfigWrapper, wrapped) - 0usize];
1775};
1776#[repr(C)]
1777#[derive(Copy, Clone)]
1778pub union Clay_ElementConfigUnion {
1779 pub rectangleElementConfig: *mut Clay_RectangleElementConfig,
1780 pub textElementConfig: *mut Clay_TextElementConfig,
1781 pub imageElementConfig: *mut Clay_ImageElementConfig,
1782 pub floatingElementConfig: *mut Clay_FloatingElementConfig,
1783 pub customElementConfig: *mut Clay_CustomElementConfig,
1784 pub scrollElementConfig: *mut Clay_ScrollElementConfig,
1785 pub borderElementConfig: *mut Clay_BorderElementConfig,
1786}
1787#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1788const _: () = {
1789 ["Size of Clay_ElementConfigUnion"][::core::mem::size_of::<Clay_ElementConfigUnion>() - 8usize];
1790 ["Alignment of Clay_ElementConfigUnion"]
1791 [::core::mem::align_of::<Clay_ElementConfigUnion>() - 8usize];
1792 ["Offset of field: Clay_ElementConfigUnion::rectangleElementConfig"]
1793 [::core::mem::offset_of!(Clay_ElementConfigUnion, rectangleElementConfig) - 0usize];
1794 ["Offset of field: Clay_ElementConfigUnion::textElementConfig"]
1795 [::core::mem::offset_of!(Clay_ElementConfigUnion, textElementConfig) - 0usize];
1796 ["Offset of field: Clay_ElementConfigUnion::imageElementConfig"]
1797 [::core::mem::offset_of!(Clay_ElementConfigUnion, imageElementConfig) - 0usize];
1798 ["Offset of field: Clay_ElementConfigUnion::floatingElementConfig"]
1799 [::core::mem::offset_of!(Clay_ElementConfigUnion, floatingElementConfig) - 0usize];
1800 ["Offset of field: Clay_ElementConfigUnion::customElementConfig"]
1801 [::core::mem::offset_of!(Clay_ElementConfigUnion, customElementConfig) - 0usize];
1802 ["Offset of field: Clay_ElementConfigUnion::scrollElementConfig"]
1803 [::core::mem::offset_of!(Clay_ElementConfigUnion, scrollElementConfig) - 0usize];
1804 ["Offset of field: Clay_ElementConfigUnion::borderElementConfig"]
1805 [::core::mem::offset_of!(Clay_ElementConfigUnion, borderElementConfig) - 0usize];
1806};
1807#[repr(C)]
1808#[derive(Copy, Clone)]
1809pub struct Clay__AlignClay_ElementConfigUnion {
1810 pub c: ::core::ffi::c_char,
1811 pub x: Clay_ElementConfigUnion,
1812}
1813#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1814const _: () = {
1815 ["Size of Clay__AlignClay_ElementConfigUnion"]
1816 [::core::mem::size_of::<Clay__AlignClay_ElementConfigUnion>() - 16usize];
1817 ["Alignment of Clay__AlignClay_ElementConfigUnion"]
1818 [::core::mem::align_of::<Clay__AlignClay_ElementConfigUnion>() - 8usize];
1819 ["Offset of field: Clay__AlignClay_ElementConfigUnion::c"]
1820 [::core::mem::offset_of!(Clay__AlignClay_ElementConfigUnion, c) - 0usize];
1821 ["Offset of field: Clay__AlignClay_ElementConfigUnion::x"]
1822 [::core::mem::offset_of!(Clay__AlignClay_ElementConfigUnion, x) - 8usize];
1823};
1824#[repr(C)]
1825#[derive(Copy, Clone)]
1826pub struct Clay__Clay_ElementConfigUnionWrapper {
1827 pub wrapped: Clay_ElementConfigUnion,
1828}
1829#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1830const _: () = {
1831 ["Size of Clay__Clay_ElementConfigUnionWrapper"]
1832 [::core::mem::size_of::<Clay__Clay_ElementConfigUnionWrapper>() - 8usize];
1833 ["Alignment of Clay__Clay_ElementConfigUnionWrapper"]
1834 [::core::mem::align_of::<Clay__Clay_ElementConfigUnionWrapper>() - 8usize];
1835 ["Offset of field: Clay__Clay_ElementConfigUnionWrapper::wrapped"]
1836 [::core::mem::offset_of!(Clay__Clay_ElementConfigUnionWrapper, wrapped) - 0usize];
1837};
1838#[repr(C)]
1839#[derive(Copy, Clone)]
1840pub struct Clay_ElementConfig {
1841 pub type_: Clay__ElementConfigType,
1842 pub config: Clay_ElementConfigUnion,
1843}
1844#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1845const _: () = {
1846 ["Size of Clay_ElementConfig"][::core::mem::size_of::<Clay_ElementConfig>() - 16usize];
1847 ["Alignment of Clay_ElementConfig"][::core::mem::align_of::<Clay_ElementConfig>() - 8usize];
1848 ["Offset of field: Clay_ElementConfig::type_"]
1849 [::core::mem::offset_of!(Clay_ElementConfig, type_) - 0usize];
1850 ["Offset of field: Clay_ElementConfig::config"]
1851 [::core::mem::offset_of!(Clay_ElementConfig, config) - 8usize];
1852};
1853#[repr(C)]
1854#[derive(Copy, Clone)]
1855pub struct Clay__AlignClay_ElementConfig {
1856 pub c: ::core::ffi::c_char,
1857 pub x: Clay_ElementConfig,
1858}
1859#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1860const _: () = {
1861 ["Size of Clay__AlignClay_ElementConfig"]
1862 [::core::mem::size_of::<Clay__AlignClay_ElementConfig>() - 24usize];
1863 ["Alignment of Clay__AlignClay_ElementConfig"]
1864 [::core::mem::align_of::<Clay__AlignClay_ElementConfig>() - 8usize];
1865 ["Offset of field: Clay__AlignClay_ElementConfig::c"]
1866 [::core::mem::offset_of!(Clay__AlignClay_ElementConfig, c) - 0usize];
1867 ["Offset of field: Clay__AlignClay_ElementConfig::x"]
1868 [::core::mem::offset_of!(Clay__AlignClay_ElementConfig, x) - 8usize];
1869};
1870#[repr(C)]
1871#[derive(Copy, Clone)]
1872pub struct Clay__Clay_ElementConfigWrapper {
1873 pub wrapped: Clay_ElementConfig,
1874}
1875#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1876const _: () = {
1877 ["Size of Clay__Clay_ElementConfigWrapper"]
1878 [::core::mem::size_of::<Clay__Clay_ElementConfigWrapper>() - 16usize];
1879 ["Alignment of Clay__Clay_ElementConfigWrapper"]
1880 [::core::mem::align_of::<Clay__Clay_ElementConfigWrapper>() - 8usize];
1881 ["Offset of field: Clay__Clay_ElementConfigWrapper::wrapped"]
1882 [::core::mem::offset_of!(Clay__Clay_ElementConfigWrapper, wrapped) - 0usize];
1883};
1884#[repr(C)]
1885#[derive(Debug, Copy, Clone)]
1886pub struct Clay_ScrollContainerData {
1887 pub scrollPosition: *mut Clay_Vector2,
1888 pub scrollContainerDimensions: Clay_Dimensions,
1889 pub contentDimensions: Clay_Dimensions,
1890 pub config: Clay_ScrollElementConfig,
1891 pub found: bool,
1892}
1893#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1894const _: () = {
1895 ["Size of Clay_ScrollContainerData"]
1896 [::core::mem::size_of::<Clay_ScrollContainerData>() - 32usize];
1897 ["Alignment of Clay_ScrollContainerData"]
1898 [::core::mem::align_of::<Clay_ScrollContainerData>() - 8usize];
1899 ["Offset of field: Clay_ScrollContainerData::scrollPosition"]
1900 [::core::mem::offset_of!(Clay_ScrollContainerData, scrollPosition) - 0usize];
1901 ["Offset of field: Clay_ScrollContainerData::scrollContainerDimensions"]
1902 [::core::mem::offset_of!(Clay_ScrollContainerData, scrollContainerDimensions) - 8usize];
1903 ["Offset of field: Clay_ScrollContainerData::contentDimensions"]
1904 [::core::mem::offset_of!(Clay_ScrollContainerData, contentDimensions) - 16usize];
1905 ["Offset of field: Clay_ScrollContainerData::config"]
1906 [::core::mem::offset_of!(Clay_ScrollContainerData, config) - 24usize];
1907 ["Offset of field: Clay_ScrollContainerData::found"]
1908 [::core::mem::offset_of!(Clay_ScrollContainerData, found) - 26usize];
1909};
1910#[repr(C)]
1911#[derive(Debug, Copy, Clone)]
1912pub struct Clay__AlignClay_ScrollContainerData {
1913 pub c: ::core::ffi::c_char,
1914 pub x: Clay_ScrollContainerData,
1915}
1916#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1917const _: () = {
1918 ["Size of Clay__AlignClay_ScrollContainerData"]
1919 [::core::mem::size_of::<Clay__AlignClay_ScrollContainerData>() - 40usize];
1920 ["Alignment of Clay__AlignClay_ScrollContainerData"]
1921 [::core::mem::align_of::<Clay__AlignClay_ScrollContainerData>() - 8usize];
1922 ["Offset of field: Clay__AlignClay_ScrollContainerData::c"]
1923 [::core::mem::offset_of!(Clay__AlignClay_ScrollContainerData, c) - 0usize];
1924 ["Offset of field: Clay__AlignClay_ScrollContainerData::x"]
1925 [::core::mem::offset_of!(Clay__AlignClay_ScrollContainerData, x) - 8usize];
1926};
1927#[repr(C)]
1928#[derive(Debug, Copy, Clone)]
1929pub struct Clay__Clay_ScrollContainerDataWrapper {
1930 pub wrapped: Clay_ScrollContainerData,
1931}
1932#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1933const _: () = {
1934 ["Size of Clay__Clay_ScrollContainerDataWrapper"]
1935 [::core::mem::size_of::<Clay__Clay_ScrollContainerDataWrapper>() - 32usize];
1936 ["Alignment of Clay__Clay_ScrollContainerDataWrapper"]
1937 [::core::mem::align_of::<Clay__Clay_ScrollContainerDataWrapper>() - 8usize];
1938 ["Offset of field: Clay__Clay_ScrollContainerDataWrapper::wrapped"]
1939 [::core::mem::offset_of!(Clay__Clay_ScrollContainerDataWrapper, wrapped) - 0usize];
1940};
1941#[repr(C)]
1942#[derive(Debug, Copy, Clone)]
1943pub struct Clay_ElementData {
1944 pub boundingBox: Clay_BoundingBox,
1945 pub found: bool,
1946}
1947#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1948const _: () = {
1949 ["Size of Clay_ElementData"][::core::mem::size_of::<Clay_ElementData>() - 20usize];
1950 ["Alignment of Clay_ElementData"][::core::mem::align_of::<Clay_ElementData>() - 4usize];
1951 ["Offset of field: Clay_ElementData::boundingBox"]
1952 [::core::mem::offset_of!(Clay_ElementData, boundingBox) - 0usize];
1953 ["Offset of field: Clay_ElementData::found"]
1954 [::core::mem::offset_of!(Clay_ElementData, found) - 16usize];
1955};
1956#[repr(C)]
1957#[derive(Debug, Copy, Clone)]
1958pub struct Clay__AlignClay_ElementData {
1959 pub c: ::core::ffi::c_char,
1960 pub x: Clay_ElementData,
1961}
1962#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1963const _: () = {
1964 ["Size of Clay__AlignClay_ElementData"]
1965 [::core::mem::size_of::<Clay__AlignClay_ElementData>() - 24usize];
1966 ["Alignment of Clay__AlignClay_ElementData"]
1967 [::core::mem::align_of::<Clay__AlignClay_ElementData>() - 4usize];
1968 ["Offset of field: Clay__AlignClay_ElementData::c"]
1969 [::core::mem::offset_of!(Clay__AlignClay_ElementData, c) - 0usize];
1970 ["Offset of field: Clay__AlignClay_ElementData::x"]
1971 [::core::mem::offset_of!(Clay__AlignClay_ElementData, x) - 4usize];
1972};
1973#[repr(C)]
1974#[derive(Debug, Copy, Clone)]
1975pub struct Clay__Clay_ElementDataWrapper {
1976 pub wrapped: Clay_ElementData,
1977}
1978#[allow(clippy::unnecessary_operation, clippy::identity_op)]
1979const _: () = {
1980 ["Size of Clay__Clay_ElementDataWrapper"]
1981 [::core::mem::size_of::<Clay__Clay_ElementDataWrapper>() - 20usize];
1982 ["Alignment of Clay__Clay_ElementDataWrapper"]
1983 [::core::mem::align_of::<Clay__Clay_ElementDataWrapper>() - 4usize];
1984 ["Offset of field: Clay__Clay_ElementDataWrapper::wrapped"]
1985 [::core::mem::offset_of!(Clay__Clay_ElementDataWrapper, wrapped) - 0usize];
1986};
1987pub const Clay_RenderCommandType_CLAY_RENDER_COMMAND_TYPE_NONE: Clay_RenderCommandType = 0;
1988pub const Clay_RenderCommandType_CLAY_RENDER_COMMAND_TYPE_RECTANGLE: Clay_RenderCommandType = 1;
1989pub const Clay_RenderCommandType_CLAY_RENDER_COMMAND_TYPE_BORDER: Clay_RenderCommandType = 2;
1990pub const Clay_RenderCommandType_CLAY_RENDER_COMMAND_TYPE_TEXT: Clay_RenderCommandType = 3;
1991pub const Clay_RenderCommandType_CLAY_RENDER_COMMAND_TYPE_IMAGE: Clay_RenderCommandType = 4;
1992pub const Clay_RenderCommandType_CLAY_RENDER_COMMAND_TYPE_SCISSOR_START: Clay_RenderCommandType = 5;
1993pub const Clay_RenderCommandType_CLAY_RENDER_COMMAND_TYPE_SCISSOR_END: Clay_RenderCommandType = 6;
1994pub const Clay_RenderCommandType_CLAY_RENDER_COMMAND_TYPE_CUSTOM: Clay_RenderCommandType = 7;
1995pub type Clay_RenderCommandType = ::core::ffi::c_uchar;
1996#[repr(C)]
1997#[derive(Debug, Copy, Clone)]
1998pub struct Clay__AlignClay_RenderCommandType {
1999 pub c: ::core::ffi::c_char,
2000 pub x: Clay_RenderCommandType,
2001}
2002#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2003const _: () = {
2004 ["Size of Clay__AlignClay_RenderCommandType"]
2005 [::core::mem::size_of::<Clay__AlignClay_RenderCommandType>() - 2usize];
2006 ["Alignment of Clay__AlignClay_RenderCommandType"]
2007 [::core::mem::align_of::<Clay__AlignClay_RenderCommandType>() - 1usize];
2008 ["Offset of field: Clay__AlignClay_RenderCommandType::c"]
2009 [::core::mem::offset_of!(Clay__AlignClay_RenderCommandType, c) - 0usize];
2010 ["Offset of field: Clay__AlignClay_RenderCommandType::x"]
2011 [::core::mem::offset_of!(Clay__AlignClay_RenderCommandType, x) - 1usize];
2012};
2013#[repr(C)]
2014#[derive(Debug, Copy, Clone)]
2015pub struct Clay__Clay_RenderCommandTypeWrapper {
2016 pub wrapped: Clay_RenderCommandType,
2017}
2018#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2019const _: () = {
2020 ["Size of Clay__Clay_RenderCommandTypeWrapper"]
2021 [::core::mem::size_of::<Clay__Clay_RenderCommandTypeWrapper>() - 1usize];
2022 ["Alignment of Clay__Clay_RenderCommandTypeWrapper"]
2023 [::core::mem::align_of::<Clay__Clay_RenderCommandTypeWrapper>() - 1usize];
2024 ["Offset of field: Clay__Clay_RenderCommandTypeWrapper::wrapped"]
2025 [::core::mem::offset_of!(Clay__Clay_RenderCommandTypeWrapper, wrapped) - 0usize];
2026};
2027#[repr(C)]
2028#[derive(Copy, Clone)]
2029pub struct Clay_RenderCommand {
2030 pub boundingBox: Clay_BoundingBox,
2031 pub config: Clay_ElementConfigUnion,
2032 pub text: Clay_String,
2033 pub id: u32,
2034 pub commandType: Clay_RenderCommandType,
2035}
2036#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2037const _: () = {
2038 ["Size of Clay_RenderCommand"][::core::mem::size_of::<Clay_RenderCommand>() - 48usize];
2039 ["Alignment of Clay_RenderCommand"][::core::mem::align_of::<Clay_RenderCommand>() - 8usize];
2040 ["Offset of field: Clay_RenderCommand::boundingBox"]
2041 [::core::mem::offset_of!(Clay_RenderCommand, boundingBox) - 0usize];
2042 ["Offset of field: Clay_RenderCommand::config"]
2043 [::core::mem::offset_of!(Clay_RenderCommand, config) - 16usize];
2044 ["Offset of field: Clay_RenderCommand::text"]
2045 [::core::mem::offset_of!(Clay_RenderCommand, text) - 24usize];
2046 ["Offset of field: Clay_RenderCommand::id"]
2047 [::core::mem::offset_of!(Clay_RenderCommand, id) - 40usize];
2048 ["Offset of field: Clay_RenderCommand::commandType"]
2049 [::core::mem::offset_of!(Clay_RenderCommand, commandType) - 44usize];
2050};
2051#[repr(C)]
2052#[derive(Copy, Clone)]
2053pub struct Clay__AlignClay_RenderCommand {
2054 pub c: ::core::ffi::c_char,
2055 pub x: Clay_RenderCommand,
2056}
2057#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2058const _: () = {
2059 ["Size of Clay__AlignClay_RenderCommand"]
2060 [::core::mem::size_of::<Clay__AlignClay_RenderCommand>() - 56usize];
2061 ["Alignment of Clay__AlignClay_RenderCommand"]
2062 [::core::mem::align_of::<Clay__AlignClay_RenderCommand>() - 8usize];
2063 ["Offset of field: Clay__AlignClay_RenderCommand::c"]
2064 [::core::mem::offset_of!(Clay__AlignClay_RenderCommand, c) - 0usize];
2065 ["Offset of field: Clay__AlignClay_RenderCommand::x"]
2066 [::core::mem::offset_of!(Clay__AlignClay_RenderCommand, x) - 8usize];
2067};
2068#[repr(C)]
2069#[derive(Copy, Clone)]
2070pub struct Clay__Clay_RenderCommandWrapper {
2071 pub wrapped: Clay_RenderCommand,
2072}
2073#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2074const _: () = {
2075 ["Size of Clay__Clay_RenderCommandWrapper"]
2076 [::core::mem::size_of::<Clay__Clay_RenderCommandWrapper>() - 48usize];
2077 ["Alignment of Clay__Clay_RenderCommandWrapper"]
2078 [::core::mem::align_of::<Clay__Clay_RenderCommandWrapper>() - 8usize];
2079 ["Offset of field: Clay__Clay_RenderCommandWrapper::wrapped"]
2080 [::core::mem::offset_of!(Clay__Clay_RenderCommandWrapper, wrapped) - 0usize];
2081};
2082#[repr(C)]
2083#[derive(Debug, Copy, Clone)]
2084pub struct Clay_RenderCommandArray {
2085 pub capacity: i32,
2086 pub length: i32,
2087 pub internalArray: *mut Clay_RenderCommand,
2088}
2089#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2090const _: () = {
2091 ["Size of Clay_RenderCommandArray"]
2092 [::core::mem::size_of::<Clay_RenderCommandArray>() - 16usize];
2093 ["Alignment of Clay_RenderCommandArray"]
2094 [::core::mem::align_of::<Clay_RenderCommandArray>() - 8usize];
2095 ["Offset of field: Clay_RenderCommandArray::capacity"]
2096 [::core::mem::offset_of!(Clay_RenderCommandArray, capacity) - 0usize];
2097 ["Offset of field: Clay_RenderCommandArray::length"]
2098 [::core::mem::offset_of!(Clay_RenderCommandArray, length) - 4usize];
2099 ["Offset of field: Clay_RenderCommandArray::internalArray"]
2100 [::core::mem::offset_of!(Clay_RenderCommandArray, internalArray) - 8usize];
2101};
2102#[repr(C)]
2103#[derive(Debug, Copy, Clone)]
2104pub struct Clay__AlignClay_RenderCommandArray {
2105 pub c: ::core::ffi::c_char,
2106 pub x: Clay_RenderCommandArray,
2107}
2108#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2109const _: () = {
2110 ["Size of Clay__AlignClay_RenderCommandArray"]
2111 [::core::mem::size_of::<Clay__AlignClay_RenderCommandArray>() - 24usize];
2112 ["Alignment of Clay__AlignClay_RenderCommandArray"]
2113 [::core::mem::align_of::<Clay__AlignClay_RenderCommandArray>() - 8usize];
2114 ["Offset of field: Clay__AlignClay_RenderCommandArray::c"]
2115 [::core::mem::offset_of!(Clay__AlignClay_RenderCommandArray, c) - 0usize];
2116 ["Offset of field: Clay__AlignClay_RenderCommandArray::x"]
2117 [::core::mem::offset_of!(Clay__AlignClay_RenderCommandArray, x) - 8usize];
2118};
2119#[repr(C)]
2120#[derive(Debug, Copy, Clone)]
2121pub struct Clay__Clay_RenderCommandArrayWrapper {
2122 pub wrapped: Clay_RenderCommandArray,
2123}
2124#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2125const _: () = {
2126 ["Size of Clay__Clay_RenderCommandArrayWrapper"]
2127 [::core::mem::size_of::<Clay__Clay_RenderCommandArrayWrapper>() - 16usize];
2128 ["Alignment of Clay__Clay_RenderCommandArrayWrapper"]
2129 [::core::mem::align_of::<Clay__Clay_RenderCommandArrayWrapper>() - 8usize];
2130 ["Offset of field: Clay__Clay_RenderCommandArrayWrapper::wrapped"]
2131 [::core::mem::offset_of!(Clay__Clay_RenderCommandArrayWrapper, wrapped) - 0usize];
2132};
2133pub const Clay_PointerDataInteractionState_CLAY_POINTER_DATA_PRESSED_THIS_FRAME:
2134 Clay_PointerDataInteractionState = 0;
2135pub const Clay_PointerDataInteractionState_CLAY_POINTER_DATA_PRESSED:
2136 Clay_PointerDataInteractionState = 1;
2137pub const Clay_PointerDataInteractionState_CLAY_POINTER_DATA_RELEASED_THIS_FRAME:
2138 Clay_PointerDataInteractionState = 2;
2139pub const Clay_PointerDataInteractionState_CLAY_POINTER_DATA_RELEASED:
2140 Clay_PointerDataInteractionState = 3;
2141pub type Clay_PointerDataInteractionState = ::core::ffi::c_uint;
2142#[repr(C)]
2143#[derive(Debug, Copy, Clone)]
2144pub struct Clay__AlignClay_PointerDataInteractionState {
2145 pub c: ::core::ffi::c_char,
2146 pub x: Clay_PointerDataInteractionState,
2147}
2148#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2149const _: () = {
2150 ["Size of Clay__AlignClay_PointerDataInteractionState"]
2151 [::core::mem::size_of::<Clay__AlignClay_PointerDataInteractionState>() - 8usize];
2152 ["Alignment of Clay__AlignClay_PointerDataInteractionState"]
2153 [::core::mem::align_of::<Clay__AlignClay_PointerDataInteractionState>() - 4usize];
2154 ["Offset of field: Clay__AlignClay_PointerDataInteractionState::c"]
2155 [::core::mem::offset_of!(Clay__AlignClay_PointerDataInteractionState, c) - 0usize];
2156 ["Offset of field: Clay__AlignClay_PointerDataInteractionState::x"]
2157 [::core::mem::offset_of!(Clay__AlignClay_PointerDataInteractionState, x) - 4usize];
2158};
2159#[repr(C)]
2160#[derive(Debug, Copy, Clone)]
2161pub struct Clay__Clay_PointerDataInteractionStateWrapper {
2162 pub wrapped: Clay_PointerDataInteractionState,
2163}
2164#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2165const _: () = {
2166 ["Size of Clay__Clay_PointerDataInteractionStateWrapper"]
2167 [::core::mem::size_of::<Clay__Clay_PointerDataInteractionStateWrapper>() - 4usize];
2168 ["Alignment of Clay__Clay_PointerDataInteractionStateWrapper"]
2169 [::core::mem::align_of::<Clay__Clay_PointerDataInteractionStateWrapper>() - 4usize];
2170 ["Offset of field: Clay__Clay_PointerDataInteractionStateWrapper::wrapped"]
2171 [::core::mem::offset_of!(Clay__Clay_PointerDataInteractionStateWrapper, wrapped) - 0usize];
2172};
2173#[repr(C)]
2174#[derive(Debug, Copy, Clone)]
2175pub struct Clay_PointerData {
2176 pub position: Clay_Vector2,
2177 pub state: Clay_PointerDataInteractionState,
2178}
2179#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2180const _: () = {
2181 ["Size of Clay_PointerData"][::core::mem::size_of::<Clay_PointerData>() - 12usize];
2182 ["Alignment of Clay_PointerData"][::core::mem::align_of::<Clay_PointerData>() - 4usize];
2183 ["Offset of field: Clay_PointerData::position"]
2184 [::core::mem::offset_of!(Clay_PointerData, position) - 0usize];
2185 ["Offset of field: Clay_PointerData::state"]
2186 [::core::mem::offset_of!(Clay_PointerData, state) - 8usize];
2187};
2188#[repr(C)]
2189#[derive(Debug, Copy, Clone)]
2190pub struct Clay__AlignClay_PointerData {
2191 pub c: ::core::ffi::c_char,
2192 pub x: Clay_PointerData,
2193}
2194#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2195const _: () = {
2196 ["Size of Clay__AlignClay_PointerData"]
2197 [::core::mem::size_of::<Clay__AlignClay_PointerData>() - 16usize];
2198 ["Alignment of Clay__AlignClay_PointerData"]
2199 [::core::mem::align_of::<Clay__AlignClay_PointerData>() - 4usize];
2200 ["Offset of field: Clay__AlignClay_PointerData::c"]
2201 [::core::mem::offset_of!(Clay__AlignClay_PointerData, c) - 0usize];
2202 ["Offset of field: Clay__AlignClay_PointerData::x"]
2203 [::core::mem::offset_of!(Clay__AlignClay_PointerData, x) - 4usize];
2204};
2205#[repr(C)]
2206#[derive(Debug, Copy, Clone)]
2207pub struct Clay__Clay_PointerDataWrapper {
2208 pub wrapped: Clay_PointerData,
2209}
2210#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2211const _: () = {
2212 ["Size of Clay__Clay_PointerDataWrapper"]
2213 [::core::mem::size_of::<Clay__Clay_PointerDataWrapper>() - 12usize];
2214 ["Alignment of Clay__Clay_PointerDataWrapper"]
2215 [::core::mem::align_of::<Clay__Clay_PointerDataWrapper>() - 4usize];
2216 ["Offset of field: Clay__Clay_PointerDataWrapper::wrapped"]
2217 [::core::mem::offset_of!(Clay__Clay_PointerDataWrapper, wrapped) - 0usize];
2218};
2219pub const Clay_ErrorType_CLAY_ERROR_TYPE_TEXT_MEASUREMENT_FUNCTION_NOT_PROVIDED: Clay_ErrorType = 0;
2220pub const Clay_ErrorType_CLAY_ERROR_TYPE_ARENA_CAPACITY_EXCEEDED: Clay_ErrorType = 1;
2221pub const Clay_ErrorType_CLAY_ERROR_TYPE_ELEMENTS_CAPACITY_EXCEEDED: Clay_ErrorType = 2;
2222pub const Clay_ErrorType_CLAY_ERROR_TYPE_TEXT_MEASUREMENT_CAPACITY_EXCEEDED: Clay_ErrorType = 3;
2223pub const Clay_ErrorType_CLAY_ERROR_TYPE_DUPLICATE_ID: Clay_ErrorType = 4;
2224pub const Clay_ErrorType_CLAY_ERROR_TYPE_FLOATING_CONTAINER_PARENT_NOT_FOUND: Clay_ErrorType = 5;
2225pub const Clay_ErrorType_CLAY_ERROR_TYPE_INTERNAL_ERROR: Clay_ErrorType = 6;
2226pub type Clay_ErrorType = ::core::ffi::c_uint;
2227#[repr(C)]
2228#[derive(Debug, Copy, Clone)]
2229pub struct Clay__AlignClay_ErrorType {
2230 pub c: ::core::ffi::c_char,
2231 pub x: Clay_ErrorType,
2232}
2233#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2234const _: () = {
2235 ["Size of Clay__AlignClay_ErrorType"]
2236 [::core::mem::size_of::<Clay__AlignClay_ErrorType>() - 8usize];
2237 ["Alignment of Clay__AlignClay_ErrorType"]
2238 [::core::mem::align_of::<Clay__AlignClay_ErrorType>() - 4usize];
2239 ["Offset of field: Clay__AlignClay_ErrorType::c"]
2240 [::core::mem::offset_of!(Clay__AlignClay_ErrorType, c) - 0usize];
2241 ["Offset of field: Clay__AlignClay_ErrorType::x"]
2242 [::core::mem::offset_of!(Clay__AlignClay_ErrorType, x) - 4usize];
2243};
2244#[repr(C)]
2245#[derive(Debug, Copy, Clone)]
2246pub struct Clay__Clay_ErrorTypeWrapper {
2247 pub wrapped: Clay_ErrorType,
2248}
2249#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2250const _: () = {
2251 ["Size of Clay__Clay_ErrorTypeWrapper"]
2252 [::core::mem::size_of::<Clay__Clay_ErrorTypeWrapper>() - 4usize];
2253 ["Alignment of Clay__Clay_ErrorTypeWrapper"]
2254 [::core::mem::align_of::<Clay__Clay_ErrorTypeWrapper>() - 4usize];
2255 ["Offset of field: Clay__Clay_ErrorTypeWrapper::wrapped"]
2256 [::core::mem::offset_of!(Clay__Clay_ErrorTypeWrapper, wrapped) - 0usize];
2257};
2258#[repr(C)]
2259#[derive(Debug, Copy, Clone)]
2260pub struct Clay_ErrorData {
2261 pub errorType: Clay_ErrorType,
2262 pub errorText: Clay_String,
2263 pub userData: usize,
2264}
2265#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2266const _: () = {
2267 ["Size of Clay_ErrorData"][::core::mem::size_of::<Clay_ErrorData>() - 32usize];
2268 ["Alignment of Clay_ErrorData"][::core::mem::align_of::<Clay_ErrorData>() - 8usize];
2269 ["Offset of field: Clay_ErrorData::errorType"]
2270 [::core::mem::offset_of!(Clay_ErrorData, errorType) - 0usize];
2271 ["Offset of field: Clay_ErrorData::errorText"]
2272 [::core::mem::offset_of!(Clay_ErrorData, errorText) - 8usize];
2273 ["Offset of field: Clay_ErrorData::userData"]
2274 [::core::mem::offset_of!(Clay_ErrorData, userData) - 24usize];
2275};
2276#[repr(C)]
2277#[derive(Debug, Copy, Clone)]
2278pub struct Clay__AlignClay_ErrorData {
2279 pub c: ::core::ffi::c_char,
2280 pub x: Clay_ErrorData,
2281}
2282#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2283const _: () = {
2284 ["Size of Clay__AlignClay_ErrorData"]
2285 [::core::mem::size_of::<Clay__AlignClay_ErrorData>() - 40usize];
2286 ["Alignment of Clay__AlignClay_ErrorData"]
2287 [::core::mem::align_of::<Clay__AlignClay_ErrorData>() - 8usize];
2288 ["Offset of field: Clay__AlignClay_ErrorData::c"]
2289 [::core::mem::offset_of!(Clay__AlignClay_ErrorData, c) - 0usize];
2290 ["Offset of field: Clay__AlignClay_ErrorData::x"]
2291 [::core::mem::offset_of!(Clay__AlignClay_ErrorData, x) - 8usize];
2292};
2293#[repr(C)]
2294#[derive(Debug, Copy, Clone)]
2295pub struct Clay__Clay_ErrorDataWrapper {
2296 pub wrapped: Clay_ErrorData,
2297}
2298#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2299const _: () = {
2300 ["Size of Clay__Clay_ErrorDataWrapper"]
2301 [::core::mem::size_of::<Clay__Clay_ErrorDataWrapper>() - 32usize];
2302 ["Alignment of Clay__Clay_ErrorDataWrapper"]
2303 [::core::mem::align_of::<Clay__Clay_ErrorDataWrapper>() - 8usize];
2304 ["Offset of field: Clay__Clay_ErrorDataWrapper::wrapped"]
2305 [::core::mem::offset_of!(Clay__Clay_ErrorDataWrapper, wrapped) - 0usize];
2306};
2307#[repr(C)]
2308#[derive(Debug, Copy, Clone)]
2309pub struct Clay_ErrorHandler {
2310 pub errorHandlerFunction:
2311 ::core::option::Option<unsafe extern "C" fn(errorText: Clay_ErrorData)>,
2312 pub userData: usize,
2313}
2314#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2315const _: () = {
2316 ["Size of Clay_ErrorHandler"][::core::mem::size_of::<Clay_ErrorHandler>() - 16usize];
2317 ["Alignment of Clay_ErrorHandler"][::core::mem::align_of::<Clay_ErrorHandler>() - 8usize];
2318 ["Offset of field: Clay_ErrorHandler::errorHandlerFunction"]
2319 [::core::mem::offset_of!(Clay_ErrorHandler, errorHandlerFunction) - 0usize];
2320 ["Offset of field: Clay_ErrorHandler::userData"]
2321 [::core::mem::offset_of!(Clay_ErrorHandler, userData) - 8usize];
2322};
2323#[repr(C)]
2324#[derive(Debug, Copy, Clone)]
2325pub struct Clay__AlignClay_ErrorHandler {
2326 pub c: ::core::ffi::c_char,
2327 pub x: Clay_ErrorHandler,
2328}
2329#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2330const _: () = {
2331 ["Size of Clay__AlignClay_ErrorHandler"]
2332 [::core::mem::size_of::<Clay__AlignClay_ErrorHandler>() - 24usize];
2333 ["Alignment of Clay__AlignClay_ErrorHandler"]
2334 [::core::mem::align_of::<Clay__AlignClay_ErrorHandler>() - 8usize];
2335 ["Offset of field: Clay__AlignClay_ErrorHandler::c"]
2336 [::core::mem::offset_of!(Clay__AlignClay_ErrorHandler, c) - 0usize];
2337 ["Offset of field: Clay__AlignClay_ErrorHandler::x"]
2338 [::core::mem::offset_of!(Clay__AlignClay_ErrorHandler, x) - 8usize];
2339};
2340#[repr(C)]
2341#[derive(Debug, Copy, Clone)]
2342pub struct Clay__Clay_ErrorHandlerWrapper {
2343 pub wrapped: Clay_ErrorHandler,
2344}
2345#[allow(clippy::unnecessary_operation, clippy::identity_op)]
2346const _: () = {
2347 ["Size of Clay__Clay_ErrorHandlerWrapper"]
2348 [::core::mem::size_of::<Clay__Clay_ErrorHandlerWrapper>() - 16usize];
2349 ["Alignment of Clay__Clay_ErrorHandlerWrapper"]
2350 [::core::mem::align_of::<Clay__Clay_ErrorHandlerWrapper>() - 8usize];
2351 ["Offset of field: Clay__Clay_ErrorHandlerWrapper::wrapped"]
2352 [::core::mem::offset_of!(Clay__Clay_ErrorHandlerWrapper, wrapped) - 0usize];
2353};
2354unsafe extern "C" {
2355 pub fn Clay_MinMemorySize() -> u32;
2356}
2357unsafe extern "C" {
2358 pub fn Clay_CreateArenaWithCapacityAndMemory(
2359 capacity: u32,
2360 offset: *mut ::core::ffi::c_void,
2361 ) -> Clay_Arena;
2362}
2363unsafe extern "C" {
2364 pub fn Clay_SetPointerState(position: Clay_Vector2, pointerDown: bool);
2365}
2366unsafe extern "C" {
2367 pub fn Clay_Initialize(
2368 arena: Clay_Arena,
2369 layoutDimensions: Clay_Dimensions,
2370 errorHandler: Clay_ErrorHandler,
2371 ) -> *mut Clay_Context;
2372}
2373unsafe extern "C" {
2374 pub fn Clay_GetCurrentContext() -> *mut Clay_Context;
2375}
2376unsafe extern "C" {
2377 pub fn Clay_SetCurrentContext(context: *mut Clay_Context);
2378}
2379unsafe extern "C" {
2380 pub fn Clay_UpdateScrollContainers(
2381 enableDragScrolling: bool,
2382 scrollDelta: Clay_Vector2,
2383 deltaTime: f32,
2384 );
2385}
2386unsafe extern "C" {
2387 pub fn Clay_SetLayoutDimensions(dimensions: Clay_Dimensions);
2388}
2389unsafe extern "C" {
2390 pub fn Clay_BeginLayout();
2391}
2392unsafe extern "C" {
2393 pub fn Clay_EndLayout() -> Clay_RenderCommandArray;
2394}
2395unsafe extern "C" {
2396 pub fn Clay_GetElementId(idString: Clay_String) -> Clay_ElementId;
2397}
2398unsafe extern "C" {
2399 pub fn Clay_GetElementIdWithIndex(idString: Clay_String, index: u32) -> Clay_ElementId;
2400}
2401unsafe extern "C" {
2402 pub fn Clay_GetElementData(id: Clay_ElementId) -> Clay_ElementData;
2403}
2404unsafe extern "C" {
2405 pub fn Clay_Hovered() -> bool;
2406}
2407unsafe extern "C" {
2408 pub fn Clay_OnHover(
2409 onHoverFunction: ::core::option::Option<
2410 unsafe extern "C" fn(
2411 elementId: Clay_ElementId,
2412 pointerData: Clay_PointerData,
2413 userData: isize,
2414 ),
2415 >,
2416 userData: isize,
2417 );
2418}
2419unsafe extern "C" {
2420 pub fn Clay_PointerOver(elementId: Clay_ElementId) -> bool;
2421}
2422unsafe extern "C" {
2423 pub fn Clay_GetScrollContainerData(id: Clay_ElementId) -> Clay_ScrollContainerData;
2424}
2425unsafe extern "C" {
2426 pub fn Clay_SetMeasureTextFunction(
2427 measureTextFunction: ::core::option::Option<
2428 unsafe extern "C" fn(
2429 text: *mut Clay_String,
2430 config: *mut Clay_TextElementConfig,
2431 ) -> Clay_Dimensions,
2432 >,
2433 );
2434}
2435unsafe extern "C" {
2436 pub fn Clay_SetQueryScrollOffsetFunction(
2437 queryScrollOffsetFunction: ::core::option::Option<
2438 unsafe extern "C" fn(elementId: u32) -> Clay_Vector2,
2439 >,
2440 );
2441}
2442unsafe extern "C" {
2443 pub fn Clay_RenderCommandArray_Get(
2444 array: *mut Clay_RenderCommandArray,
2445 index: i32,
2446 ) -> *mut Clay_RenderCommand;
2447}
2448unsafe extern "C" {
2449 pub fn Clay_SetDebugModeEnabled(enabled: bool);
2450}
2451unsafe extern "C" {
2452 pub fn Clay_IsDebugModeEnabled() -> bool;
2453}
2454unsafe extern "C" {
2455 pub fn Clay_SetCullingEnabled(enabled: bool);
2456}
2457unsafe extern "C" {
2458 pub fn Clay_GetMaxElementCount() -> i32;
2459}
2460unsafe extern "C" {
2461 pub fn Clay_SetMaxElementCount(maxElementCount: i32);
2462}
2463unsafe extern "C" {
2464 pub fn Clay_GetMaxMeasureTextCacheWordCount() -> i32;
2465}
2466unsafe extern "C" {
2467 pub fn Clay_SetMaxMeasureTextCacheWordCount(maxMeasureTextCacheWordCount: i32);
2468}
2469unsafe extern "C" {
2470 pub fn Clay_ResetMeasureTextCache();
2471}
2472unsafe extern "C" {
2473 pub fn Clay__OpenElement();
2474}
2475unsafe extern "C" {
2476 pub fn Clay__CloseElement();
2477}
2478unsafe extern "C" {
2479 pub fn Clay__StoreLayoutConfig(config: Clay_LayoutConfig) -> *mut Clay_LayoutConfig;
2480}
2481unsafe extern "C" {
2482 pub fn Clay__ElementPostConfiguration();
2483}
2484unsafe extern "C" {
2485 pub fn Clay__AttachId(id: Clay_ElementId);
2486}
2487unsafe extern "C" {
2488 pub fn Clay__AttachLayoutConfig(config: *mut Clay_LayoutConfig);
2489}
2490unsafe extern "C" {
2491 pub fn Clay__AttachElementConfig(
2492 config: Clay_ElementConfigUnion,
2493 type_: Clay__ElementConfigType,
2494 );
2495}
2496unsafe extern "C" {
2497 pub fn Clay__StoreRectangleElementConfig(
2498 config: Clay_RectangleElementConfig,
2499 ) -> *mut Clay_RectangleElementConfig;
2500}
2501unsafe extern "C" {
2502 pub fn Clay__StoreTextElementConfig(
2503 config: Clay_TextElementConfig,
2504 ) -> *mut Clay_TextElementConfig;
2505}
2506unsafe extern "C" {
2507 pub fn Clay__StoreImageElementConfig(
2508 config: Clay_ImageElementConfig,
2509 ) -> *mut Clay_ImageElementConfig;
2510}
2511unsafe extern "C" {
2512 pub fn Clay__StoreFloatingElementConfig(
2513 config: Clay_FloatingElementConfig,
2514 ) -> *mut Clay_FloatingElementConfig;
2515}
2516unsafe extern "C" {
2517 pub fn Clay__StoreCustomElementConfig(
2518 config: Clay_CustomElementConfig,
2519 ) -> *mut Clay_CustomElementConfig;
2520}
2521unsafe extern "C" {
2522 pub fn Clay__StoreScrollElementConfig(
2523 config: Clay_ScrollElementConfig,
2524 ) -> *mut Clay_ScrollElementConfig;
2525}
2526unsafe extern "C" {
2527 pub fn Clay__StoreBorderElementConfig(
2528 config: Clay_BorderElementConfig,
2529 ) -> *mut Clay_BorderElementConfig;
2530}
2531unsafe extern "C" {
2532 pub fn Clay__HashString(key: Clay_String, offset: u32, seed: u32) -> Clay_ElementId;
2533}
2534unsafe extern "C" {
2535 pub fn Clay__OpenTextElement(text: Clay_String, textConfig: *mut Clay_TextElementConfig);
2536}
2537unsafe extern "C" {
2538 pub fn Clay__GetParentElementId() -> u32;
2539}
2540unsafe extern "C" {
2541 pub static mut Clay__debugViewHighlightColor: Clay_Color;
2542}
2543unsafe extern "C" {
2544 pub static mut Clay__debugViewWidth: u32;
2545}