Skip to main content

engage/generated/tm_pro/
richtexttagattribute.rs

1// @generated by il2cpp-bindgen — do not edit by hand.
2
3#[cfg(feature = "tm_pro-richtexttagattribute-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/richtexttagattribute/RichTextTagAttribute.md"))]
14    #[repr(C)]
15    #[derive(::core::clone::Clone, ::core::marker::Copy)]
16    pub struct RichTextTagAttribute {
17        pub name_hash_code: i32,
18        pub value_hash_code: i32,
19        pub value_type: crate::tm_pro::tagvaluetype::TagValueType,
20        pub value_start_index: i32,
21        pub value_length: i32,
22        pub unit_type: crate::tm_pro::tagunittype::TagUnitType,
23    }
24    impl ::unity::ClassIdentity for RichTextTagAttribute {
25        const NAME: &'static str = "RichTextTagAttribute";
26        const NAMESPACE: &'static str = "TMPro";
27
28        fn class() -> ::unity::Class {
29            static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
30            *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
31        }
32    }
33    impl ::unity::IlType for RichTextTagAttribute {
34        fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
35            &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
36        }
37    }
38}
39
40#[cfg(feature = "tm_pro-richtexttagattribute-types")]
41pub use __types::*;
42
43#[cfg(feature = "tm_pro-richtexttagattribute")]
44#[doc(hidden)]
45pub mod prelude {
46    pub use super::RichTextTagAttribute;
47    #[cfg(feature = "system-object")]
48    pub use crate::system::object::IObjectMethods;
49    #[cfg(feature = "system-valuetype")]
50    pub use crate::system::valuetype::IValueTypeMethods;
51    pub use crate::system::{object::IObject, valuetype::IValueType};
52}