Skip to main content

engage/generated/tm_pro/
tmp_pageinfo.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "tm_pro-tmp_pageinfo-types")]
4mod __types {
5    #[allow(unused_imports)] use ::unity::prelude::*;
6
7    use super::*;
8    use crate::system::{
9        object::{IObject, Object},
10        valuetype::{IValueType, ValueType},
11    };
12
13    #[doc=include_str!(concat!(env!("CARGO_MANIFEST_DIR"),"/","docs/tm_pro/tmp_pageinfo/TMP_PageInfo.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct TMP_PageInfo {
17        pub first_character_index: i32,
18        pub last_character_index: i32,
19        pub ascender: f32,
20        pub base_line: f32,
21        pub descender: f32,
22    }
23    impl ::unity::ClassIdentity for TMP_PageInfo {
24        const NAME: &'static str = "TMP_PageInfo";
25        const NAMESPACE: &'static str = "TMPro";
26
27        fn class() -> ::unity::Class {
28            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
29            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
30        }
31    }
32    impl ::unity::IlType for TMP_PageInfo {
33        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
34            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
35        }
36    }
37}
38
39#[cfg(feature = "tm_pro-tmp_pageinfo-types")]
40pub use __types::*;
41
42#[cfg(feature = "tm_pro-tmp_pageinfo")]
43#[doc(hidden)]
44pub mod prelude {
45    pub use super::TMP_PageInfo;
46    #[cfg(feature = "system-object")]
47    pub use crate::system::object::IObjectMethods;
48    #[cfg(feature = "system-valuetype")]
49    pub use crate::system::valuetype::IValueTypeMethods;
50    pub use crate::system::{object::IObject, valuetype::IValueType};
51}