1
2
3
/* automatically generated by rust-bindgen 0.60.1 */

pub const _STDINT_H : u32 = 1 ; pub const _FEATURES_H : u32 = 1 ; pub const _DEFAULT_SOURCE : u32 = 1 ; pub const __GLIBC_USE_ISOC2X : u32 = 0 ; pub const __USE_ISOC11 : u32 = 1 ; pub const __USE_ISOC99 : u32 = 1 ; pub const __USE_ISOC95 : u32 = 1 ; pub const __USE_POSIX_IMPLICITLY : u32 = 1 ; pub const _POSIX_SOURCE : u32 = 1 ; pub const _POSIX_C_SOURCE : u32 = 200809 ; pub const __USE_POSIX : u32 = 1 ; pub const __USE_POSIX2 : u32 = 1 ; pub const __USE_POSIX199309 : u32 = 1 ; pub const __USE_POSIX199506 : u32 = 1 ; pub const __USE_XOPEN2K : u32 = 1 ; pub const __USE_XOPEN2K8 : u32 = 1 ; pub const _ATFILE_SOURCE : u32 = 1 ; pub const __WORDSIZE : u32 = 64 ; pub const __WORDSIZE_TIME64_COMPAT32 : u32 = 1 ; pub const __SYSCALL_WORDSIZE : u32 = 64 ; pub const __TIMESIZE : u32 = 64 ; pub const __USE_MISC : u32 = 1 ; pub const __USE_ATFILE : u32 = 1 ; pub const __USE_FORTIFY_LEVEL : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_GETS : u32 = 0 ; pub const __GLIBC_USE_DEPRECATED_SCANF : u32 = 0 ; pub const _STDC_PREDEF_H : u32 = 1 ; pub const __STDC_IEC_559__ : u32 = 1 ; pub const __STDC_IEC_60559_BFP__ : u32 = 201404 ; pub const __STDC_IEC_559_COMPLEX__ : u32 = 1 ; pub const __STDC_IEC_60559_COMPLEX__ : u32 = 201404 ; pub const __STDC_ISO_10646__ : u32 = 201706 ; pub const __GNU_LIBRARY__ : u32 = 6 ; pub const __GLIBC__ : u32 = 2 ; pub const __GLIBC_MINOR__ : u32 = 36 ; pub const _SYS_CDEFS_H : u32 = 1 ; pub const __glibc_c99_flexarr_available : u32 = 1 ; pub const __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI : u32 = 0 ; pub const __HAVE_GENERIC_SELECTION : u32 = 1 ; pub const __GLIBC_USE_LIB_EXT2 : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X : u32 = 0 ; pub const __GLIBC_USE_IEC_60559_TYPES_EXT : u32 = 0 ; pub const _BITS_TYPES_H : u32 = 1 ; pub const _BITS_TYPESIZES_H : u32 = 1 ; pub const __OFF_T_MATCHES_OFF64_T : u32 = 1 ; pub const __INO_T_MATCHES_INO64_T : u32 = 1 ; pub const __RLIM_T_MATCHES_RLIM64_T : u32 = 1 ; pub const __STATFS_MATCHES_STATFS64 : u32 = 1 ; pub const __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 : u32 = 1 ; pub const __FD_SETSIZE : u32 = 1024 ; pub const _BITS_TIME64_H : u32 = 1 ; pub const _BITS_WCHAR_H : u32 = 1 ; pub const _BITS_STDINT_INTN_H : u32 = 1 ; pub const _BITS_STDINT_UINTN_H : u32 = 1 ; pub const INT8_MIN : i32 = - 128 ; pub const INT16_MIN : i32 = - 32768 ; pub const INT32_MIN : i32 = - 2147483648 ; pub const INT8_MAX : u32 = 127 ; pub const INT16_MAX : u32 = 32767 ; pub const INT32_MAX : u32 = 2147483647 ; pub const UINT8_MAX : u32 = 255 ; pub const UINT16_MAX : u32 = 65535 ; pub const UINT32_MAX : u32 = 4294967295 ; pub const INT_LEAST8_MIN : i32 = - 128 ; pub const INT_LEAST16_MIN : i32 = - 32768 ; pub const INT_LEAST32_MIN : i32 = - 2147483648 ; pub const INT_LEAST8_MAX : u32 = 127 ; pub const INT_LEAST16_MAX : u32 = 32767 ; pub const INT_LEAST32_MAX : u32 = 2147483647 ; pub const UINT_LEAST8_MAX : u32 = 255 ; pub const UINT_LEAST16_MAX : u32 = 65535 ; pub const UINT_LEAST32_MAX : u32 = 4294967295 ; pub const INT_FAST8_MIN : i32 = - 128 ; pub const INT_FAST16_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST32_MIN : i64 = - 9223372036854775808 ; pub const INT_FAST8_MAX : u32 = 127 ; pub const INT_FAST16_MAX : u64 = 9223372036854775807 ; pub const INT_FAST32_MAX : u64 = 9223372036854775807 ; pub const UINT_FAST8_MAX : u32 = 255 ; pub const UINT_FAST16_MAX : i32 = - 1 ; pub const UINT_FAST32_MAX : i32 = - 1 ; pub const INTPTR_MIN : i64 = - 9223372036854775808 ; pub const INTPTR_MAX : u64 = 9223372036854775807 ; pub const UINTPTR_MAX : i32 = - 1 ; pub const PTRDIFF_MIN : i64 = - 9223372036854775808 ; pub const PTRDIFF_MAX : u64 = 9223372036854775807 ; pub const SIG_ATOMIC_MIN : i32 = - 2147483648 ; pub const SIG_ATOMIC_MAX : u32 = 2147483647 ; pub const SIZE_MAX : i32 = - 1 ; pub const WINT_MIN : u32 = 0 ; pub const WINT_MAX : u32 = 4294967295 ; pub const ChangeFlagNone : u32 = 0 ; pub const ChangeFlagPath : u32 = 1 ; pub const ChangeFlagPaint : u32 = 16 ; pub const ChangeFlagAll : u32 = 0 ; pub type wchar_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [repr (align (16))] # [derive (Debug , Copy , Clone)] pub struct max_align_t { pub __clang_max_align_nonce1 : :: std :: os :: raw :: c_longlong , pub __bindgen_padding_0 : u64 , pub __clang_max_align_nonce2 : u128 , } # [test] fn bindgen_test_layout_max_align_t () { assert_eq ! (:: std :: mem :: size_of :: < max_align_t > () , 32usize , concat ! ("Size of: " , stringify ! (max_align_t))) ; assert_eq ! (:: std :: mem :: align_of :: < max_align_t > () , 16usize , concat ! ("Alignment of " , stringify ! (max_align_t))) ; fn test_field___clang_max_align_nonce1 () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < max_align_t > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . __clang_max_align_nonce1) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (max_align_t) , "::" , stringify ! (__clang_max_align_nonce1))) ; } test_field___clang_max_align_nonce1 () ; fn test_field___clang_max_align_nonce2 () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < max_align_t > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . __clang_max_align_nonce2) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (max_align_t) , "::" , stringify ! (__clang_max_align_nonce2))) ; } test_field___clang_max_align_nonce2 () ; } pub type __u_char = :: std :: os :: raw :: c_uchar ; pub type __u_short = :: std :: os :: raw :: c_ushort ; pub type __u_int = :: std :: os :: raw :: c_uint ; pub type __u_long = :: std :: os :: raw :: c_ulong ; pub type __int8_t = :: std :: os :: raw :: c_schar ; pub type __uint8_t = :: std :: os :: raw :: c_uchar ; pub type __int16_t = :: std :: os :: raw :: c_short ; pub type __uint16_t = :: std :: os :: raw :: c_ushort ; pub type __int32_t = :: std :: os :: raw :: c_int ; pub type __uint32_t = :: std :: os :: raw :: c_uint ; pub type __int64_t = :: std :: os :: raw :: c_long ; pub type __uint64_t = :: std :: os :: raw :: c_ulong ; pub type __int_least8_t = __int8_t ; pub type __uint_least8_t = __uint8_t ; pub type __int_least16_t = __int16_t ; pub type __uint_least16_t = __uint16_t ; pub type __int_least32_t = __int32_t ; pub type __uint_least32_t = __uint32_t ; pub type __int_least64_t = __int64_t ; pub type __uint_least64_t = __uint64_t ; pub type __quad_t = :: std :: os :: raw :: c_long ; pub type __u_quad_t = :: std :: os :: raw :: c_ulong ; pub type __intmax_t = :: std :: os :: raw :: c_long ; pub type __uintmax_t = :: std :: os :: raw :: c_ulong ; pub type __dev_t = :: std :: os :: raw :: c_ulong ; pub type __uid_t = :: std :: os :: raw :: c_uint ; pub type __gid_t = :: std :: os :: raw :: c_uint ; pub type __ino_t = :: std :: os :: raw :: c_ulong ; pub type __ino64_t = :: std :: os :: raw :: c_ulong ; pub type __mode_t = :: std :: os :: raw :: c_uint ; pub type __nlink_t = :: std :: os :: raw :: c_ulong ; pub type __off_t = :: std :: os :: raw :: c_long ; pub type __off64_t = :: std :: os :: raw :: c_long ; pub type __pid_t = :: std :: os :: raw :: c_int ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct __fsid_t { pub __val : [:: std :: os :: raw :: c_int ; 2usize] , } # [test] fn bindgen_test_layout___fsid_t () { assert_eq ! (:: std :: mem :: size_of :: < __fsid_t > () , 8usize , concat ! ("Size of: " , stringify ! (__fsid_t))) ; assert_eq ! (:: std :: mem :: align_of :: < __fsid_t > () , 4usize , concat ! ("Alignment of " , stringify ! (__fsid_t))) ; fn test_field___val () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < __fsid_t > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . __val) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (__fsid_t) , "::" , stringify ! (__val))) ; } test_field___val () ; } pub type __clock_t = :: std :: os :: raw :: c_long ; pub type __rlim_t = :: std :: os :: raw :: c_ulong ; pub type __rlim64_t = :: std :: os :: raw :: c_ulong ; pub type __id_t = :: std :: os :: raw :: c_uint ; pub type __time_t = :: std :: os :: raw :: c_long ; pub type __useconds_t = :: std :: os :: raw :: c_uint ; pub type __suseconds_t = :: std :: os :: raw :: c_long ; pub type __suseconds64_t = :: std :: os :: raw :: c_long ; pub type __daddr_t = :: std :: os :: raw :: c_int ; pub type __key_t = :: std :: os :: raw :: c_int ; pub type __clockid_t = :: std :: os :: raw :: c_int ; pub type __timer_t = * mut :: std :: os :: raw :: c_void ; pub type __blksize_t = :: std :: os :: raw :: c_long ; pub type __blkcnt_t = :: std :: os :: raw :: c_long ; pub type __blkcnt64_t = :: std :: os :: raw :: c_long ; pub type __fsblkcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsblkcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt_t = :: std :: os :: raw :: c_ulong ; pub type __fsfilcnt64_t = :: std :: os :: raw :: c_ulong ; pub type __fsword_t = :: std :: os :: raw :: c_long ; pub type __ssize_t = :: std :: os :: raw :: c_long ; pub type __syscall_slong_t = :: std :: os :: raw :: c_long ; pub type __syscall_ulong_t = :: std :: os :: raw :: c_ulong ; pub type __loff_t = __off64_t ; pub type __caddr_t = * mut :: std :: os :: raw :: c_char ; pub type __intptr_t = :: std :: os :: raw :: c_long ; pub type __socklen_t = :: std :: os :: raw :: c_uint ; pub type __sig_atomic_t = :: std :: os :: raw :: c_int ; pub type int_least8_t = __int_least8_t ; pub type int_least16_t = __int_least16_t ; pub type int_least32_t = __int_least32_t ; pub type int_least64_t = __int_least64_t ; pub type uint_least8_t = __uint_least8_t ; pub type uint_least16_t = __uint_least16_t ; pub type uint_least32_t = __uint_least32_t ; pub type uint_least64_t = __uint_least64_t ; pub type int_fast8_t = :: std :: os :: raw :: c_schar ; pub type int_fast16_t = :: std :: os :: raw :: c_long ; pub type int_fast32_t = :: std :: os :: raw :: c_long ; pub type int_fast64_t = :: std :: os :: raw :: c_long ; pub type uint_fast8_t = :: std :: os :: raw :: c_uchar ; pub type uint_fast16_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast32_t = :: std :: os :: raw :: c_ulong ; pub type uint_fast64_t = :: std :: os :: raw :: c_ulong ; pub type intmax_t = __intmax_t ; pub type uintmax_t = __uintmax_t ; impl LOTBrushType { pub const BrushSolid : LOTBrushType = LOTBrushType (0) ; } impl LOTBrushType { pub const BrushGradient : LOTBrushType = LOTBrushType (1) ; } # [repr (transparent)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub struct LOTBrushType (pub :: std :: os :: raw :: c_uint) ; impl LOTFillRule { pub const FillEvenOdd : LOTFillRule = LOTFillRule (0) ; } impl LOTFillRule { pub const FillWinding : LOTFillRule = LOTFillRule (1) ; } # [repr (transparent)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub struct LOTFillRule (pub :: std :: os :: raw :: c_uint) ; impl LOTJoinStyle { pub const JoinMiter : LOTJoinStyle = LOTJoinStyle (0) ; } impl LOTJoinStyle { pub const JoinBevel : LOTJoinStyle = LOTJoinStyle (1) ; } impl LOTJoinStyle { pub const JoinRound : LOTJoinStyle = LOTJoinStyle (2) ; } # [repr (transparent)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub struct LOTJoinStyle (pub :: std :: os :: raw :: c_uint) ; impl LOTCapStyle { pub const CapFlat : LOTCapStyle = LOTCapStyle (0) ; } impl LOTCapStyle { pub const CapSquare : LOTCapStyle = LOTCapStyle (1) ; } impl LOTCapStyle { pub const CapRound : LOTCapStyle = LOTCapStyle (2) ; } # [repr (transparent)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub struct LOTCapStyle (pub :: std :: os :: raw :: c_uint) ; impl LOTGradientType { pub const GradientLinear : LOTGradientType = LOTGradientType (0) ; } impl LOTGradientType { pub const GradientRadial : LOTGradientType = LOTGradientType (1) ; } # [repr (transparent)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub struct LOTGradientType (pub :: std :: os :: raw :: c_uint) ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTGradientStop { pub pos : f32 , pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [test] fn bindgen_test_layout_LOTGradientStop () { assert_eq ! (:: std :: mem :: size_of :: < LOTGradientStop > () , 8usize , concat ! ("Size of: " , stringify ! (LOTGradientStop))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTGradientStop > () , 4usize , concat ! ("Alignment of " , stringify ! (LOTGradientStop))) ; fn test_field_pos () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTGradientStop > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . pos) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTGradientStop) , "::" , stringify ! (pos))) ; } test_field_pos () ; fn test_field_r () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTGradientStop > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . r) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (LOTGradientStop) , "::" , stringify ! (r))) ; } test_field_r () ; fn test_field_g () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTGradientStop > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . g) as usize - ptr as usize } , 5usize , concat ! ("Offset of field: " , stringify ! (LOTGradientStop) , "::" , stringify ! (g))) ; } test_field_g () ; fn test_field_b () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTGradientStop > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . b) as usize - ptr as usize } , 6usize , concat ! ("Offset of field: " , stringify ! (LOTGradientStop) , "::" , stringify ! (b))) ; } test_field_b () ; fn test_field_a () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTGradientStop > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . a) as usize - ptr as usize } , 7usize , concat ! ("Offset of field: " , stringify ! (LOTGradientStop) , "::" , stringify ! (a))) ; } test_field_a () ; } impl LOTMaskType { pub const MaskAdd : LOTMaskType = LOTMaskType (0) ; } impl LOTMaskType { pub const MaskSubstract : LOTMaskType = LOTMaskType (1) ; } impl LOTMaskType { pub const MaskIntersect : LOTMaskType = LOTMaskType (2) ; } impl LOTMaskType { pub const MaskDifference : LOTMaskType = LOTMaskType (3) ; } # [repr (transparent)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub struct LOTMaskType (pub :: std :: os :: raw :: c_uint) ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTMask { pub mPath : LOTMask__bindgen_ty_1 , pub mMode : LOTMaskType , pub mAlpha : :: std :: os :: raw :: c_uchar , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTMask__bindgen_ty_1 { pub ptPtr : * const f32 , pub ptCount : usize , pub elmPtr : * const :: std :: os :: raw :: c_char , pub elmCount : usize , } # [test] fn bindgen_test_layout_LOTMask__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < LOTMask__bindgen_ty_1 > () , 32usize , concat ! ("Size of: " , stringify ! (LOTMask__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTMask__bindgen_ty_1 > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTMask__bindgen_ty_1))) ; fn test_field_ptPtr () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTMask__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . ptPtr) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTMask__bindgen_ty_1) , "::" , stringify ! (ptPtr))) ; } test_field_ptPtr () ; fn test_field_ptCount () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTMask__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . ptCount) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (LOTMask__bindgen_ty_1) , "::" , stringify ! (ptCount))) ; } test_field_ptCount () ; fn test_field_elmPtr () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTMask__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . elmPtr) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (LOTMask__bindgen_ty_1) , "::" , stringify ! (elmPtr))) ; } test_field_elmPtr () ; fn test_field_elmCount () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTMask__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . elmCount) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (LOTMask__bindgen_ty_1) , "::" , stringify ! (elmCount))) ; } test_field_elmCount () ; } # [test] fn bindgen_test_layout_LOTMask () { assert_eq ! (:: std :: mem :: size_of :: < LOTMask > () , 40usize , concat ! ("Size of: " , stringify ! (LOTMask))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTMask > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTMask))) ; fn test_field_mPath () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTMask > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mPath) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTMask) , "::" , stringify ! (mPath))) ; } test_field_mPath () ; fn test_field_mMode () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTMask > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mMode) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (LOTMask) , "::" , stringify ! (mMode))) ; } test_field_mMode () ; fn test_field_mAlpha () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTMask > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mAlpha) as usize - ptr as usize } , 36usize , concat ! ("Offset of field: " , stringify ! (LOTMask) , "::" , stringify ! (mAlpha))) ; } test_field_mAlpha () ; } impl LOTMatteType { pub const MatteNone : LOTMatteType = LOTMatteType (0) ; } impl LOTMatteType { pub const MatteAlpha : LOTMatteType = LOTMatteType (1) ; } impl LOTMatteType { pub const MatteAlphaInv : LOTMatteType = LOTMatteType (2) ; } impl LOTMatteType { pub const MatteLuma : LOTMatteType = LOTMatteType (3) ; } impl LOTMatteType { pub const MatteLumaInv : LOTMatteType = LOTMatteType (4) ; } # [repr (transparent)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub struct LOTMatteType (pub :: std :: os :: raw :: c_uint) ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTMarker { pub name : * mut :: std :: os :: raw :: c_char , pub startframe : usize , pub endframe : usize , } # [test] fn bindgen_test_layout_LOTMarker () { assert_eq ! (:: std :: mem :: size_of :: < LOTMarker > () , 24usize , concat ! ("Size of: " , stringify ! (LOTMarker))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTMarker > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTMarker))) ; fn test_field_name () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTMarker > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . name) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTMarker) , "::" , stringify ! (name))) ; } test_field_name () ; fn test_field_startframe () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTMarker > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . startframe) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (LOTMarker) , "::" , stringify ! (startframe))) ; } test_field_startframe () ; fn test_field_endframe () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTMarker > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . endframe) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (LOTMarker) , "::" , stringify ! (endframe))) ; } test_field_endframe () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTMarkerList { pub ptr : * mut LOTMarker , pub size : usize , } # [test] fn bindgen_test_layout_LOTMarkerList () { assert_eq ! (:: std :: mem :: size_of :: < LOTMarkerList > () , 16usize , concat ! ("Size of: " , stringify ! (LOTMarkerList))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTMarkerList > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTMarkerList))) ; fn test_field_ptr () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTMarkerList > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . ptr) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTMarkerList) , "::" , stringify ! (ptr))) ; } test_field_ptr () ; fn test_field_size () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTMarkerList > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . size) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (LOTMarkerList) , "::" , stringify ! (size))) ; } test_field_size () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTNode { pub mPath : LOTNode__bindgen_ty_1 , pub mColor : LOTNode__bindgen_ty_2 , pub mStroke : LOTNode__bindgen_ty_3 , pub mGradient : LOTNode__bindgen_ty_4 , pub mImageInfo : LOTNode__bindgen_ty_5 , pub mFlag : :: std :: os :: raw :: c_int , pub mBrushType : LOTBrushType , pub mFillRule : LOTFillRule , pub keypath : * const :: std :: os :: raw :: c_char , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTNode__bindgen_ty_1 { pub ptPtr : * const f32 , pub ptCount : usize , pub elmPtr : * const :: std :: os :: raw :: c_char , pub elmCount : usize , } # [test] fn bindgen_test_layout_LOTNode__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < LOTNode__bindgen_ty_1 > () , 32usize , concat ! ("Size of: " , stringify ! (LOTNode__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTNode__bindgen_ty_1 > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTNode__bindgen_ty_1))) ; fn test_field_ptPtr () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . ptPtr) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_1) , "::" , stringify ! (ptPtr))) ; } test_field_ptPtr () ; fn test_field_ptCount () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . ptCount) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_1) , "::" , stringify ! (ptCount))) ; } test_field_ptCount () ; fn test_field_elmPtr () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . elmPtr) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_1) , "::" , stringify ! (elmPtr))) ; } test_field_elmPtr () ; fn test_field_elmCount () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . elmCount) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_1) , "::" , stringify ! (elmCount))) ; } test_field_elmCount () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTNode__bindgen_ty_2 { pub r : :: std :: os :: raw :: c_uchar , pub g : :: std :: os :: raw :: c_uchar , pub b : :: std :: os :: raw :: c_uchar , pub a : :: std :: os :: raw :: c_uchar , } # [test] fn bindgen_test_layout_LOTNode__bindgen_ty_2 () { assert_eq ! (:: std :: mem :: size_of :: < LOTNode__bindgen_ty_2 > () , 4usize , concat ! ("Size of: " , stringify ! (LOTNode__bindgen_ty_2))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTNode__bindgen_ty_2 > () , 1usize , concat ! ("Alignment of " , stringify ! (LOTNode__bindgen_ty_2))) ; fn test_field_r () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_2 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . r) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_2) , "::" , stringify ! (r))) ; } test_field_r () ; fn test_field_g () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_2 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . g) as usize - ptr as usize } , 1usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_2) , "::" , stringify ! (g))) ; } test_field_g () ; fn test_field_b () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_2 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . b) as usize - ptr as usize } , 2usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_2) , "::" , stringify ! (b))) ; } test_field_b () ; fn test_field_a () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_2 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . a) as usize - ptr as usize } , 3usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_2) , "::" , stringify ! (a))) ; } test_field_a () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTNode__bindgen_ty_3 { pub enable : :: std :: os :: raw :: c_uchar , pub width : f32 , pub cap : LOTCapStyle , pub join : LOTJoinStyle , pub miterLimit : f32 , pub dashArray : * mut f32 , pub dashArraySize : :: std :: os :: raw :: c_int , } # [test] fn bindgen_test_layout_LOTNode__bindgen_ty_3 () { assert_eq ! (:: std :: mem :: size_of :: < LOTNode__bindgen_ty_3 > () , 40usize , concat ! ("Size of: " , stringify ! (LOTNode__bindgen_ty_3))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTNode__bindgen_ty_3 > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTNode__bindgen_ty_3))) ; fn test_field_enable () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_3 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . enable) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_3) , "::" , stringify ! (enable))) ; } test_field_enable () ; fn test_field_width () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_3 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . width) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_3) , "::" , stringify ! (width))) ; } test_field_width () ; fn test_field_cap () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_3 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . cap) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_3) , "::" , stringify ! (cap))) ; } test_field_cap () ; fn test_field_join () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_3 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . join) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_3) , "::" , stringify ! (join))) ; } test_field_join () ; fn test_field_miterLimit () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_3 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . miterLimit) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_3) , "::" , stringify ! (miterLimit))) ; } test_field_miterLimit () ; fn test_field_dashArray () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_3 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . dashArray) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_3) , "::" , stringify ! (dashArray))) ; } test_field_dashArray () ; fn test_field_dashArraySize () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_3 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . dashArraySize) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_3) , "::" , stringify ! (dashArraySize))) ; } test_field_dashArraySize () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTNode__bindgen_ty_4 { pub type_ : LOTGradientType , pub stopPtr : * mut LOTGradientStop , pub stopCount : usize , pub start : LOTNode__bindgen_ty_4__bindgen_ty_1 , pub end : LOTNode__bindgen_ty_4__bindgen_ty_1 , pub center : LOTNode__bindgen_ty_4__bindgen_ty_1 , pub focal : LOTNode__bindgen_ty_4__bindgen_ty_1 , pub cradius : f32 , pub fradius : f32 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTNode__bindgen_ty_4__bindgen_ty_1 { pub x : f32 , pub y : f32 , } # [test] fn bindgen_test_layout_LOTNode__bindgen_ty_4__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < LOTNode__bindgen_ty_4__bindgen_ty_1 > () , 8usize , concat ! ("Size of: " , stringify ! (LOTNode__bindgen_ty_4__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTNode__bindgen_ty_4__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (LOTNode__bindgen_ty_4__bindgen_ty_1))) ; fn test_field_x () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_4__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . x) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (x))) ; } test_field_x () ; fn test_field_y () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_4__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . y) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_4__bindgen_ty_1) , "::" , stringify ! (y))) ; } test_field_y () ; } # [test] fn bindgen_test_layout_LOTNode__bindgen_ty_4 () { assert_eq ! (:: std :: mem :: size_of :: < LOTNode__bindgen_ty_4 > () , 64usize , concat ! ("Size of: " , stringify ! (LOTNode__bindgen_ty_4))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTNode__bindgen_ty_4 > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTNode__bindgen_ty_4))) ; fn test_field_type () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_4 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . type_) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_4) , "::" , stringify ! (type_))) ; } test_field_type () ; fn test_field_stopPtr () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_4 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . stopPtr) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_4) , "::" , stringify ! (stopPtr))) ; } test_field_stopPtr () ; fn test_field_stopCount () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_4 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . stopCount) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_4) , "::" , stringify ! (stopCount))) ; } test_field_stopCount () ; fn test_field_start () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_4 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . start) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_4) , "::" , stringify ! (start))) ; } test_field_start () ; fn test_field_end () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_4 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . end) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_4) , "::" , stringify ! (end))) ; } test_field_end () ; fn test_field_center () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_4 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . center) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_4) , "::" , stringify ! (center))) ; } test_field_center () ; fn test_field_focal () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_4 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . focal) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_4) , "::" , stringify ! (focal))) ; } test_field_focal () ; fn test_field_cradius () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_4 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . cradius) as usize - ptr as usize } , 56usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_4) , "::" , stringify ! (cradius))) ; } test_field_cradius () ; fn test_field_fradius () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_4 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . fradius) as usize - ptr as usize } , 60usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_4) , "::" , stringify ! (fradius))) ; } test_field_fradius () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTNode__bindgen_ty_5 { pub data : * mut :: std :: os :: raw :: c_uchar , pub width : usize , pub height : usize , pub mAlpha : :: std :: os :: raw :: c_uchar , pub mMatrix : LOTNode__bindgen_ty_5__bindgen_ty_1 , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTNode__bindgen_ty_5__bindgen_ty_1 { pub m11 : f32 , pub m12 : f32 , pub m13 : f32 , pub m21 : f32 , pub m22 : f32 , pub m23 : f32 , pub m31 : f32 , pub m32 : f32 , pub m33 : f32 , } # [test] fn bindgen_test_layout_LOTNode__bindgen_ty_5__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < LOTNode__bindgen_ty_5__bindgen_ty_1 > () , 36usize , concat ! ("Size of: " , stringify ! (LOTNode__bindgen_ty_5__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTNode__bindgen_ty_5__bindgen_ty_1 > () , 4usize , concat ! ("Alignment of " , stringify ! (LOTNode__bindgen_ty_5__bindgen_ty_1))) ; fn test_field_m11 () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . m11) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5__bindgen_ty_1) , "::" , stringify ! (m11))) ; } test_field_m11 () ; fn test_field_m12 () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . m12) as usize - ptr as usize } , 4usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5__bindgen_ty_1) , "::" , stringify ! (m12))) ; } test_field_m12 () ; fn test_field_m13 () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . m13) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5__bindgen_ty_1) , "::" , stringify ! (m13))) ; } test_field_m13 () ; fn test_field_m21 () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . m21) as usize - ptr as usize } , 12usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5__bindgen_ty_1) , "::" , stringify ! (m21))) ; } test_field_m21 () ; fn test_field_m22 () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . m22) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5__bindgen_ty_1) , "::" , stringify ! (m22))) ; } test_field_m22 () ; fn test_field_m23 () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . m23) as usize - ptr as usize } , 20usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5__bindgen_ty_1) , "::" , stringify ! (m23))) ; } test_field_m23 () ; fn test_field_m31 () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . m31) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5__bindgen_ty_1) , "::" , stringify ! (m31))) ; } test_field_m31 () ; fn test_field_m32 () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . m32) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5__bindgen_ty_1) , "::" , stringify ! (m32))) ; } test_field_m32 () ; fn test_field_m33 () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . m33) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5__bindgen_ty_1) , "::" , stringify ! (m33))) ; } test_field_m33 () ; } # [test] fn bindgen_test_layout_LOTNode__bindgen_ty_5 () { assert_eq ! (:: std :: mem :: size_of :: < LOTNode__bindgen_ty_5 > () , 64usize , concat ! ("Size of: " , stringify ! (LOTNode__bindgen_ty_5))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTNode__bindgen_ty_5 > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTNode__bindgen_ty_5))) ; fn test_field_data () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . data) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5) , "::" , stringify ! (data))) ; } test_field_data () ; fn test_field_width () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . width) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5) , "::" , stringify ! (width))) ; } test_field_width () ; fn test_field_height () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . height) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5) , "::" , stringify ! (height))) ; } test_field_height () ; fn test_field_mAlpha () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mAlpha) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5) , "::" , stringify ! (mAlpha))) ; } test_field_mAlpha () ; fn test_field_mMatrix () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode__bindgen_ty_5 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mMatrix) as usize - ptr as usize } , 28usize , concat ! ("Offset of field: " , stringify ! (LOTNode__bindgen_ty_5) , "::" , stringify ! (mMatrix))) ; } test_field_mMatrix () ; } # [test] fn bindgen_test_layout_LOTNode () { assert_eq ! (:: std :: mem :: size_of :: < LOTNode > () , 232usize , concat ! ("Size of: " , stringify ! (LOTNode))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTNode > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTNode))) ; fn test_field_mPath () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mPath) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTNode) , "::" , stringify ! (mPath))) ; } test_field_mPath () ; fn test_field_mColor () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mColor) as usize - ptr as usize } , 32usize , concat ! ("Offset of field: " , stringify ! (LOTNode) , "::" , stringify ! (mColor))) ; } test_field_mColor () ; fn test_field_mStroke () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mStroke) as usize - ptr as usize } , 40usize , concat ! ("Offset of field: " , stringify ! (LOTNode) , "::" , stringify ! (mStroke))) ; } test_field_mStroke () ; fn test_field_mGradient () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mGradient) as usize - ptr as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (LOTNode) , "::" , stringify ! (mGradient))) ; } test_field_mGradient () ; fn test_field_mImageInfo () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mImageInfo) as usize - ptr as usize } , 144usize , concat ! ("Offset of field: " , stringify ! (LOTNode) , "::" , stringify ! (mImageInfo))) ; } test_field_mImageInfo () ; fn test_field_mFlag () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mFlag) as usize - ptr as usize } , 208usize , concat ! ("Offset of field: " , stringify ! (LOTNode) , "::" , stringify ! (mFlag))) ; } test_field_mFlag () ; fn test_field_mBrushType () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mBrushType) as usize - ptr as usize } , 212usize , concat ! ("Offset of field: " , stringify ! (LOTNode) , "::" , stringify ! (mBrushType))) ; } test_field_mBrushType () ; fn test_field_mFillRule () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mFillRule) as usize - ptr as usize } , 216usize , concat ! ("Offset of field: " , stringify ! (LOTNode) , "::" , stringify ! (mFillRule))) ; } test_field_mFillRule () ; fn test_field_keypath () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . keypath) as usize - ptr as usize } , 224usize , concat ! ("Offset of field: " , stringify ! (LOTNode) , "::" , stringify ! (keypath))) ; } test_field_keypath () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTLayerNode { pub mMaskList : LOTLayerNode__bindgen_ty_1 , pub mClipPath : LOTLayerNode__bindgen_ty_2 , pub mLayerList : LOTLayerNode__bindgen_ty_3 , pub mNodeList : LOTLayerNode__bindgen_ty_4 , pub mMatte : LOTMatteType , pub mVisible : :: std :: os :: raw :: c_int , pub mAlpha : :: std :: os :: raw :: c_uchar , pub keypath : * const :: std :: os :: raw :: c_char , } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTLayerNode__bindgen_ty_1 { pub ptr : * mut LOTMask , pub size : usize , } # [test] fn bindgen_test_layout_LOTLayerNode__bindgen_ty_1 () { assert_eq ! (:: std :: mem :: size_of :: < LOTLayerNode__bindgen_ty_1 > () , 16usize , concat ! ("Size of: " , stringify ! (LOTLayerNode__bindgen_ty_1))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTLayerNode__bindgen_ty_1 > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTLayerNode__bindgen_ty_1))) ; fn test_field_ptr () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . ptr) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode__bindgen_ty_1) , "::" , stringify ! (ptr))) ; } test_field_ptr () ; fn test_field_size () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode__bindgen_ty_1 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . size) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode__bindgen_ty_1) , "::" , stringify ! (size))) ; } test_field_size () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTLayerNode__bindgen_ty_2 { pub ptPtr : * const f32 , pub ptCount : usize , pub elmPtr : * const :: std :: os :: raw :: c_char , pub elmCount : usize , } # [test] fn bindgen_test_layout_LOTLayerNode__bindgen_ty_2 () { assert_eq ! (:: std :: mem :: size_of :: < LOTLayerNode__bindgen_ty_2 > () , 32usize , concat ! ("Size of: " , stringify ! (LOTLayerNode__bindgen_ty_2))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTLayerNode__bindgen_ty_2 > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTLayerNode__bindgen_ty_2))) ; fn test_field_ptPtr () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode__bindgen_ty_2 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . ptPtr) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode__bindgen_ty_2) , "::" , stringify ! (ptPtr))) ; } test_field_ptPtr () ; fn test_field_ptCount () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode__bindgen_ty_2 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . ptCount) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode__bindgen_ty_2) , "::" , stringify ! (ptCount))) ; } test_field_ptCount () ; fn test_field_elmPtr () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode__bindgen_ty_2 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . elmPtr) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode__bindgen_ty_2) , "::" , stringify ! (elmPtr))) ; } test_field_elmPtr () ; fn test_field_elmCount () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode__bindgen_ty_2 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . elmCount) as usize - ptr as usize } , 24usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode__bindgen_ty_2) , "::" , stringify ! (elmCount))) ; } test_field_elmCount () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTLayerNode__bindgen_ty_3 { pub ptr : * mut * mut LOTLayerNode , pub size : usize , } # [test] fn bindgen_test_layout_LOTLayerNode__bindgen_ty_3 () { assert_eq ! (:: std :: mem :: size_of :: < LOTLayerNode__bindgen_ty_3 > () , 16usize , concat ! ("Size of: " , stringify ! (LOTLayerNode__bindgen_ty_3))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTLayerNode__bindgen_ty_3 > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTLayerNode__bindgen_ty_3))) ; fn test_field_ptr () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode__bindgen_ty_3 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . ptr) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode__bindgen_ty_3) , "::" , stringify ! (ptr))) ; } test_field_ptr () ; fn test_field_size () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode__bindgen_ty_3 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . size) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode__bindgen_ty_3) , "::" , stringify ! (size))) ; } test_field_size () ; } # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct LOTLayerNode__bindgen_ty_4 { pub ptr : * mut * mut LOTNode , pub size : usize , } # [test] fn bindgen_test_layout_LOTLayerNode__bindgen_ty_4 () { assert_eq ! (:: std :: mem :: size_of :: < LOTLayerNode__bindgen_ty_4 > () , 16usize , concat ! ("Size of: " , stringify ! (LOTLayerNode__bindgen_ty_4))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTLayerNode__bindgen_ty_4 > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTLayerNode__bindgen_ty_4))) ; fn test_field_ptr () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode__bindgen_ty_4 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . ptr) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode__bindgen_ty_4) , "::" , stringify ! (ptr))) ; } test_field_ptr () ; fn test_field_size () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode__bindgen_ty_4 > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . size) as usize - ptr as usize } , 8usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode__bindgen_ty_4) , "::" , stringify ! (size))) ; } test_field_size () ; } # [test] fn bindgen_test_layout_LOTLayerNode () { assert_eq ! (:: std :: mem :: size_of :: < LOTLayerNode > () , 104usize , concat ! ("Size of: " , stringify ! (LOTLayerNode))) ; assert_eq ! (:: std :: mem :: align_of :: < LOTLayerNode > () , 8usize , concat ! ("Alignment of " , stringify ! (LOTLayerNode))) ; fn test_field_mMaskList () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mMaskList) as usize - ptr as usize } , 0usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode) , "::" , stringify ! (mMaskList))) ; } test_field_mMaskList () ; fn test_field_mClipPath () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mClipPath) as usize - ptr as usize } , 16usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode) , "::" , stringify ! (mClipPath))) ; } test_field_mClipPath () ; fn test_field_mLayerList () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mLayerList) as usize - ptr as usize } , 48usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode) , "::" , stringify ! (mLayerList))) ; } test_field_mLayerList () ; fn test_field_mNodeList () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mNodeList) as usize - ptr as usize } , 64usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode) , "::" , stringify ! (mNodeList))) ; } test_field_mNodeList () ; fn test_field_mMatte () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mMatte) as usize - ptr as usize } , 80usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode) , "::" , stringify ! (mMatte))) ; } test_field_mMatte () ; fn test_field_mVisible () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mVisible) as usize - ptr as usize } , 84usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode) , "::" , stringify ! (mVisible))) ; } test_field_mVisible () ; fn test_field_mAlpha () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . mAlpha) as usize - ptr as usize } , 88usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode) , "::" , stringify ! (mAlpha))) ; } test_field_mAlpha () ; fn test_field_keypath () { assert_eq ! (unsafe { let uninit = :: std :: mem :: MaybeUninit :: < LOTLayerNode > :: uninit () ; let ptr = uninit . as_ptr () ; :: std :: ptr :: addr_of ! ((* ptr) . keypath) as usize - ptr as usize } , 96usize , concat ! ("Offset of field: " , stringify ! (LOTLayerNode) , "::" , stringify ! (keypath))) ; } test_field_keypath () ; } impl Lottie_Animation_Property { pub const LOTTIE_ANIMATION_PROPERTY_FILLCOLOR : Lottie_Animation_Property = Lottie_Animation_Property (0) ; } impl Lottie_Animation_Property { pub const LOTTIE_ANIMATION_PROPERTY_FILLOPACITY : Lottie_Animation_Property = Lottie_Animation_Property (1) ; } impl Lottie_Animation_Property { pub const LOTTIE_ANIMATION_PROPERTY_STROKECOLOR : Lottie_Animation_Property = Lottie_Animation_Property (2) ; } impl Lottie_Animation_Property { pub const LOTTIE_ANIMATION_PROPERTY_STROKEOPACITY : Lottie_Animation_Property = Lottie_Animation_Property (3) ; } impl Lottie_Animation_Property { pub const LOTTIE_ANIMATION_PROPERTY_STROKEWIDTH : Lottie_Animation_Property = Lottie_Animation_Property (4) ; } impl Lottie_Animation_Property { pub const LOTTIE_ANIMATION_PROPERTY_TR_ANCHOR : Lottie_Animation_Property = Lottie_Animation_Property (5) ; } impl Lottie_Animation_Property { pub const LOTTIE_ANIMATION_PROPERTY_TR_POSITION : Lottie_Animation_Property = Lottie_Animation_Property (6) ; } impl Lottie_Animation_Property { pub const LOTTIE_ANIMATION_PROPERTY_TR_SCALE : Lottie_Animation_Property = Lottie_Animation_Property (7) ; } impl Lottie_Animation_Property { pub const LOTTIE_ANIMATION_PROPERTY_TR_ROTATION : Lottie_Animation_Property = Lottie_Animation_Property (8) ; } impl Lottie_Animation_Property { pub const LOTTIE_ANIMATION_PROPERTY_TR_OPACITY : Lottie_Animation_Property = Lottie_Animation_Property (9) ; } # [repr (transparent)] # [derive (Debug , Copy , Clone , Hash , PartialEq , Eq)] pub struct Lottie_Animation_Property (pub :: std :: os :: raw :: c_uint) ; # [repr (C)] # [derive (Debug , Copy , Clone)] pub struct Lottie_Animation_S { _unused : [u8 ; 0] , } pub type Lottie_Animation = Lottie_Animation_S ; extern "C" { pub fn lottie_animation_from_file (path : * const :: std :: os :: raw :: c_char) -> * mut Lottie_Animation ; } extern "C" { pub fn lottie_animation_from_data (data : * const :: std :: os :: raw :: c_char , key : * const :: std :: os :: raw :: c_char , resource_path : * const :: std :: os :: raw :: c_char) -> * mut Lottie_Animation ; } extern "C" { pub fn lottie_animation_destroy (animation : * mut Lottie_Animation) ; } extern "C" { pub fn lottie_animation_get_size (animation : * const Lottie_Animation , width : * mut usize , height : * mut usize) ; } extern "C" { pub fn lottie_animation_get_duration (animation : * const Lottie_Animation) -> f64 ; } extern "C" { pub fn lottie_animation_get_totalframe (animation : * const Lottie_Animation) -> usize ; } extern "C" { pub fn lottie_animation_get_framerate (animation : * const Lottie_Animation) -> f64 ; } extern "C" { pub fn lottie_animation_render_tree (animation : * mut Lottie_Animation , frame_num : usize , width : usize , height : usize) -> * const LOTLayerNode ; } extern "C" { pub fn lottie_animation_get_frame_at_pos (animation : * const Lottie_Animation , pos : f32) -> usize ; } extern "C" { pub fn lottie_animation_render (animation : * mut Lottie_Animation , frame_num : usize , buffer : * mut u32 , width : usize , height : usize , bytes_per_line : usize) ; } extern "C" { pub fn lottie_animation_render_async (animation : * mut Lottie_Animation , frame_num : usize , buffer : * mut u32 , width : usize , height : usize , bytes_per_line : usize) ; } extern "C" { pub fn lottie_animation_render_flush (animation : * mut Lottie_Animation) -> * mut u32 ; } extern "C" { pub fn lottie_animation_property_override (animation : * mut Lottie_Animation , type_ : Lottie_Animation_Property , keypath : * const :: std :: os :: raw :: c_char , ...) ; } extern "C" { pub fn lottie_animation_get_markerlist (animation : * mut Lottie_Animation) -> * const LOTMarkerList ; }