#[repr(C)]pub struct TMP_LinkInfo {
pub text_component: TMP_Text,
pub hash_code: i32,
pub link_id_first_character_index: i32,
pub link_id_length: i32,
pub link_textfirst_character_index: i32,
pub link_text_length: i32,
pub link_id: Array<u16>,
}Expand description
Fields§
§text_component: TMP_Text§hash_code: i32§link_id_first_character_index: i32§link_id_length: i32§link_textfirst_character_index: i32§link_text_length: i32§link_id: Array<u16>Implementations§
Source§impl TMP_LinkInfo
impl TMP_LinkInfo
Sourcepub fn set_link_id(
&mut self,
text: impl Into<Array<u16>>,
start_index: impl Into<i32>,
length: impl Into<i32>,
)
pub fn set_link_id( &mut self, text: impl Into<Array<u16>>, start_index: impl Into<i32>, length: impl Into<i32>, )
SetLinkID(::unity::Array<u16>, i32, i32) overload
Sourcepub fn get_link_text(&mut self) -> Il2CppString
pub fn get_link_text(&mut self) -> Il2CppString
GetLinkText() overload
Sourcepub fn get_link_id(&mut self) -> Il2CppString
pub fn get_link_id(&mut self) -> Il2CppString
GetLinkID() overload
Source§impl TMP_LinkInfo
impl TMP_LinkInfo
pub fn set_link_id_method_info() -> &'static MethodInfo
pub fn get_link_text_method_info() -> &'static MethodInfo
pub fn get_link_id_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for TMP_LinkInfo
impl ClassIdentity for TMP_LinkInfo
Source§impl Clone for TMP_LinkInfo
impl Clone for TMP_LinkInfo
Source§fn clone(&self) -> TMP_LinkInfo
fn clone(&self) -> TMP_LinkInfo
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TMP_LinkInfo
Auto Trait Implementations§
impl Freeze for TMP_LinkInfo
impl RefUnwindSafe for TMP_LinkInfo
impl !Send for TMP_LinkInfo
impl !Sync for TMP_LinkInfo
impl Unpin for TMP_LinkInfo
impl UnwindSafe for TMP_LinkInfo
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)