Skip to main content

IBasicDialogContentMethods

Trait IBasicDialogContentMethods 

Source
pub trait IBasicDialogContentMethods: IBasicDialogContent {
Show 13 methods // Provided methods fn set_text(self, text: impl Into<Il2CppString>) { ... } fn calc_text_w(self) -> f32 { ... } fn calc_text_h(self) -> f32 { ... } fn set_shadow_off(self) { ... } fn set_shadow_pos(self, x: impl Into<f32>, y: impl Into<f32>) { ... } fn build_wh(self) { ... } fn calc_w(self) -> f32 { ... } fn calc_h(self) -> f32 { ... } fn calc_cursor_moved_pos_x(self, menu_item_index: impl Into<i32>) -> f32 { ... } fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32 { ... } fn init_obj_reference(self) { ... } fn build_menu_item_content(self) { ... } fn ctor(self) { ... }
}

Provided Methods§

Source

fn set_text(self, text: impl Into<Il2CppString>)

SetText(::unity::Il2CppString) overload

Source

fn calc_text_w(self) -> f32

CalcTextW() overload

Source

fn calc_text_h(self) -> f32

CalcTextH() overload

Source

fn set_shadow_off(self)

SetShadowOff() overload

Source

fn set_shadow_pos(self, x: impl Into<f32>, y: impl Into<f32>)

SetShadowPos(f32, f32) overload

Source

fn build_wh(self)

BuildWH() overload

Source

fn calc_w(self) -> f32

CalcW() overload

Source

fn calc_h(self) -> f32

CalcH() overload

Source

fn calc_cursor_moved_pos_x(self, menu_item_index: impl Into<i32>) -> f32

CalcCursorMovedPosX(i32) overload

Source

fn calc_cursor_moved_pos_y(self, menu_item_index: impl Into<i32>) -> f32

CalcCursorMovedPosY(i32) overload

Source

fn init_obj_reference(self)

InitObjReference() overload

Source

fn build_menu_item_content(self)

BuildMenuItemContent() 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: IBasicDialogContent> IBasicDialogContentMethods for __T

Available on crate feature app-basicdialogcontent only.