engage/generated/tm_pro/
tmp_lineinfo.rs1#[cfg(feature = "tm_pro-tmp_lineinfo-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_lineinfo/TMP_LineInfo.md"))]
14 #[repr(C)]
15 #[derive(::core::clone::Clone, ::core::marker::Copy)]
16 pub struct TMP_LineInfo {
17 pub control_character_count: i32,
18 pub character_count: i32,
19 pub visible_character_count: i32,
20 pub space_count: i32,
21 pub word_count: i32,
22 pub first_character_index: i32,
23 pub first_visible_character_index: i32,
24 pub last_character_index: i32,
25 pub last_visible_character_index: i32,
26 pub length: f32,
27 pub line_height: f32,
28 pub ascender: f32,
29 pub baseline: f32,
30 pub descender: f32,
31 pub max_advance: f32,
32 pub width: f32,
33 pub margin_left: f32,
34 pub margin_right: f32,
35 pub alignment: crate::tm_pro::horizontalalignmentoptions::HorizontalAlignmentOptions,
36 pub line_extents: crate::tm_pro::extents::Extents,
37 }
38 impl ::unity::ClassIdentity for TMP_LineInfo {
39 const NAME: &'static str = "TMP_LineInfo";
40 const NAMESPACE: &'static str = "TMPro";
41
42 fn class() -> ::unity::Class {
43 static CACHE: ::std::sync::OnceLock<::unity::Class> = ::std::sync::OnceLock::new();
44 *CACHE.get_or_init(|| ::unity::Class::lookup(Self::NAMESPACE, Self::NAME))
45 }
46 }
47 impl ::unity::IlType for TMP_LineInfo {
48 fn il_type() -> &'static ::unity::il2cpp::Il2CppType {
49 &<Self as ::unity::ClassIdentity>::class().raw()._1.byval_arg
50 }
51 }
52}
53
54#[cfg(feature = "tm_pro-tmp_lineinfo-types")]
55pub use __types::*;
56
57#[cfg(feature = "tm_pro-tmp_lineinfo")]
58#[doc(hidden)]
59pub mod prelude {
60 pub use super::TMP_LineInfo;
61 #[cfg(feature = "system-object")]
62 pub use crate::system::object::IObjectMethods;
63 #[cfg(feature = "system-valuetype")]
64 pub use crate::system::valuetype::IValueTypeMethods;
65 pub use crate::system::{object::IObject, valuetype::IValueType};
66}