Skip to main content

ITMP_StyleSheetMethods

Trait ITMP_StyleSheetMethods 

Source
pub trait ITMP_StyleSheetMethods: ITMP_StyleSheet {
    // Provided methods
    fn get_styles(self) -> List_1<TMP_Style> { ... }
    fn reset(self) { ... }
    fn get_style(self, hash_code: impl Into<i32>) -> TMP_Style { ... }
    fn get_style_2(self, name: impl Into<Il2CppString>) -> TMP_Style { ... }
    fn refresh_styles(self) { ... }
    fn load_style_dictionary_internal(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_styles(self) -> List_1<TMP_Style>

get_styles() overload

Source

fn reset(self)

Reset() overload

Source

fn get_style(self, hash_code: impl Into<i32>) -> TMP_Style

GetStyle(i32) overload

Source

fn get_style_2(self, name: impl Into<Il2CppString>) -> TMP_Style

GetStyle(::unity::Il2CppString) overload

Source

fn refresh_styles(self)

RefreshStyles() overload

Source

fn load_style_dictionary_internal(self)

LoadStyleDictionaryInternal() overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: ITMP_StyleSheet> ITMP_StyleSheetMethods for __T

Available on crate feature tm_pro-tmp_stylesheet only.