pub trait IDebugMenuMethods: IDebugMenu {
Show 89 methods
// Provided methods
fn on_create(self) { ... }
fn on_dispose(self) { ... }
fn on_open(self) { ... }
fn on_close(self) { ... }
fn on_rebuild(self) { ... }
fn on_select(self) { ... }
fn tick_item(self, item: impl Into<MenuItem>) -> MenuItem_Result { ... }
fn is_selectable(self, index: impl Into<i32>) -> bool { ... }
fn is_selectable_2(self, item: impl Into<MenuItem>) -> bool { ... }
fn is_visible(self, item: impl Into<MenuItem>) -> bool { ... }
fn is_relay(self) -> bool { ... }
fn move_to_prev(self, step: impl Into<i32>, is_trigger: impl Into<bool>) { ... }
fn move_to_next(self, step: impl Into<i32>, is_trigger: impl Into<bool>) { ... }
fn get_width(self) -> f32 { ... }
fn get_height(self) -> f32 { ... }
fn get_page(self) -> i32 { ... }
fn move_tick(self) { ... }
fn init(self) { ... }
fn b_call(self) -> MenuItem_Result { ... }
fn x_call(self) -> MenuItem_Result { ... }
fn on_tick(self) { ... }
fn get_item_blank(self, index: impl Into<i32>, dir: impl Into<i32>) -> f32 { ... }
fn get_orient_target(self) -> f32 { ... }
fn update_select(self) { ... }
fn add_item(self, item: impl Into<MenuItem>) -> DebugMenu { ... }
fn add_item_2(self, items: impl Into<List_1<MenuItem>>) -> DebugMenu { ... }
fn add_string(self, name: impl Into<Il2CppString>) -> DebugMenu { ... }
fn add_string_2(
self,
name: impl Into<Il2CppString>,
english: impl Into<Il2CppString>,
) -> DebugMenu { ... }
fn add_string_format(
self,
format: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
) -> DebugMenu { ... }
fn add_disable(self, name: impl Into<Il2CppString>) -> DebugMenu { ... }
fn add_func(
self,
name: impl Into<Il2CppString>,
func: impl Into<FuncItem_Func>,
) -> DebugMenu { ... }
fn add_property(
self,
obj: impl Into<Object>,
info: impl Into<FieldInfo>,
) -> DebugMenu { ... }
fn add_property_2(
self,
obj: impl Into<Object>,
info: impl Into<PropertyInfo>,
) -> DebugMenu { ... }
fn add_property_3(
self,
obj: impl Into<Object>,
name: impl Into<Il2CppString>,
flags: impl Into<BindingFlags>,
) -> DebugMenu { ... }
fn add_property_4(
self,
obj: impl Into<Object>,
flags: impl Into<BindingFlags>,
) -> DebugMenu { ... }
fn add_label(self, name: impl Into<Il2CppString>) -> DebugMenu { ... }
fn add_label_2(
self,
name: impl Into<Il2CppString>,
english: impl Into<Il2CppString>,
) -> DebugMenu { ... }
fn add_label_format(
self,
format: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
) -> DebugMenu { ... }
fn add_separator(self) -> DebugMenu { ... }
fn add_group_begin(
self,
name: impl Into<Il2CppString>,
state: impl Into<MenuItem_State>,
) -> DebugMenu { ... }
fn add_group_end(self) -> DebugMenu { ... }
fn clear_item(self) -> DebugMenu { ... }
fn set_pos(self, x: impl Into<f32>, y: impl Into<f32>) -> DebugMenu { ... }
fn set_pos_2(self, pos: impl Into<Vector2>) -> DebugMenu { ... }
fn set_size(self, w: impl Into<f32>, h: impl Into<f32>) -> DebugMenu { ... }
fn set_size_2(self, size: impl Into<Vector2>) -> DebugMenu { ... }
fn set_width(self, w: impl Into<f32>) -> DebugMenu { ... }
fn set_height(self, h: impl Into<f32>) -> DebugMenu { ... }
fn set_rect(
self,
x: impl Into<f32>,
y: impl Into<f32>,
w: impl Into<f32>,
h: impl Into<f32>,
) -> DebugMenu { ... }
fn set_colot(self, color: impl Into<Color>) -> DebugMenu { ... }
fn move(self, x: impl Into<f32>, y: impl Into<f32>) -> DebugMenu { ... }
fn set_move_page(self, enable: impl Into<bool>) -> DebugMenu { ... }
fn set_map_cursor(self, enable: impl Into<bool>) -> DebugMenu { ... }
fn reset_size(self) { ... }
fn calc_width(self) -> DebugMenu { ... }
fn calc_height(self) -> DebugMenu { ... }
fn calc_row(self, row: impl Into<i32>) -> DebugMenu { ... }
fn set_select(self, index: impl Into<i32>) -> DebugMenu { ... }
fn set_depth(self, depth: impl Into<i32>) -> DebugMenu { ... }
fn set_ancher(self, anchor: impl Into<GX_Anchor>) -> DebugMenu { ... }
fn set_ancher_pos(
self,
anchor: impl Into<GX_Anchor>,
offset: impl Into<f32>,
) -> DebugMenu { ... }
fn set_relay(self, enable: impl Into<bool>) -> DebugMenu { ... }
fn set_debug_time(self, time_scale: impl Into<f32>) { ... }
fn get_rect(self) -> Rect { ... }
fn get_orient(self) -> f32 { ... }
fn get_color(self) -> Color { ... }
fn get_depth(self) -> i32 { ... }
fn get_select(self) -> i32 { ... }
fn get_pos(self) -> Vector2 { ... }
fn get_size(self) -> Vector2 { ... }
fn get_anchor(self) -> GX_Anchor { ... }
fn get_indent_offset(self, indent: impl Into<i32>) -> f32 { ... }
fn calc_indent(
self,
indent: impl Into<i32>,
item: impl Into<MenuItem>,
) -> i32 { ... }
fn read_record(self) { ... }
fn write_record(self) { ... }
fn set_record(self, key: impl Into<Il2CppString>) -> DebugMenu { ... }
fn build_hierarchy(self) -> DebugMenu { ... }
fn get_text_width(self, text: impl Into<Il2CppString>) -> f32 { ... }
fn get_text_height(self, text: impl Into<Il2CppString>) -> f32 { ... }
fn set_bind_mode(self, mode: impl Into<DebugMenu_BindMode>) -> DebugMenu { ... }
fn get_bind_mode(self) -> DebugMenu_BindMode { ... }
fn get_current_bind_mode(self) -> DebugMenu_BindMode { ... }
fn get_base_color(self) -> Color { ... }
fn get_item(self, i: impl Into<i32>) -> MenuItem { ... }
fn get_items(self) -> List_1<MenuItem> { ... }
fn get_item_count(self) -> i32 { ... }
fn get_select_tick(self) -> i32 { ... }
fn get_select_time(self) -> f32 { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn on_dispose(self)
fn on_dispose(self)
OnDispose() overload
Sourcefn on_rebuild(self)
fn on_rebuild(self)
OnRebuild() overload
Sourcefn tick_item(self, item: impl Into<MenuItem>) -> MenuItem_Result
fn tick_item(self, item: impl Into<MenuItem>) -> MenuItem_Result
TickItem(crate::app::menuitem::MenuItem) overload
Sourcefn is_selectable(self, index: impl Into<i32>) -> bool
fn is_selectable(self, index: impl Into<i32>) -> bool
IsSelectable(i32) overload
Sourcefn is_selectable_2(self, item: impl Into<MenuItem>) -> bool
fn is_selectable_2(self, item: impl Into<MenuItem>) -> bool
IsSelectable(crate::app::menuitem::MenuItem) overload
Sourcefn is_visible(self, item: impl Into<MenuItem>) -> bool
fn is_visible(self, item: impl Into<MenuItem>) -> bool
IsVisible(crate::app::menuitem::MenuItem) overload
Sourcefn move_to_prev(self, step: impl Into<i32>, is_trigger: impl Into<bool>)
fn move_to_prev(self, step: impl Into<i32>, is_trigger: impl Into<bool>)
MoveToPrev(i32, bool) overload
Sourcefn move_to_next(self, step: impl Into<i32>, is_trigger: impl Into<bool>)
fn move_to_next(self, step: impl Into<i32>, is_trigger: impl Into<bool>)
MoveToNext(i32, bool) overload
Sourcefn get_height(self) -> f32
fn get_height(self) -> f32
GetHeight() overload
Sourcefn b_call(self) -> MenuItem_Result
fn b_call(self) -> MenuItem_Result
BCall() overload
Sourcefn x_call(self) -> MenuItem_Result
fn x_call(self) -> MenuItem_Result
XCall() overload
Sourcefn get_item_blank(self, index: impl Into<i32>, dir: impl Into<i32>) -> f32
fn get_item_blank(self, index: impl Into<i32>, dir: impl Into<i32>) -> f32
GetItemBlank(i32, i32) overload
Sourcefn get_orient_target(self) -> f32
fn get_orient_target(self) -> f32
GetOrientTarget() overload
Sourcefn update_select(self)
fn update_select(self)
UpdateSelect() overload
Sourcefn add_item(self, item: impl Into<MenuItem>) -> DebugMenu
fn add_item(self, item: impl Into<MenuItem>) -> DebugMenu
AddItem(crate::app::menuitem::MenuItem) overload
Sourcefn add_item_2(self, items: impl Into<List_1<MenuItem>>) -> DebugMenu
fn add_item_2(self, items: impl Into<List_1<MenuItem>>) -> DebugMenu
AddItem(crate::system::collections::generic::list_1::List_1<crate::app::menuitem::MenuItem>) overload
Sourcefn add_string(self, name: impl Into<Il2CppString>) -> DebugMenu
fn add_string(self, name: impl Into<Il2CppString>) -> DebugMenu
AddString(::unity::Il2CppString) overload
Sourcefn add_string_2(
self,
name: impl Into<Il2CppString>,
english: impl Into<Il2CppString>,
) -> DebugMenu
fn add_string_2( self, name: impl Into<Il2CppString>, english: impl Into<Il2CppString>, ) -> DebugMenu
AddString(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn add_string_format(
self,
format: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
) -> DebugMenu
fn add_string_format( self, format: impl Into<Il2CppString>, args: impl Into<Array<Object>>, ) -> DebugMenu
AddStringFormat(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>) overload
Sourcefn add_disable(self, name: impl Into<Il2CppString>) -> DebugMenu
fn add_disable(self, name: impl Into<Il2CppString>) -> DebugMenu
AddDisable(::unity::Il2CppString) overload
Sourcefn add_func(
self,
name: impl Into<Il2CppString>,
func: impl Into<FuncItem_Func>,
) -> DebugMenu
fn add_func( self, name: impl Into<Il2CppString>, func: impl Into<FuncItem_Func>, ) -> DebugMenu
AddFunc(::unity::Il2CppString, crate::app::funcitem::FuncItem_Func) overload
Sourcefn add_property(
self,
obj: impl Into<Object>,
info: impl Into<FieldInfo>,
) -> DebugMenu
fn add_property( self, obj: impl Into<Object>, info: impl Into<FieldInfo>, ) -> DebugMenu
AddProperty(crate::system::object::Object, crate::system::reflection::fieldinfo::FieldInfo) overload
Sourcefn add_property_2(
self,
obj: impl Into<Object>,
info: impl Into<PropertyInfo>,
) -> DebugMenu
fn add_property_2( self, obj: impl Into<Object>, info: impl Into<PropertyInfo>, ) -> DebugMenu
AddProperty(crate::system::object::Object, crate::system::reflection::propertyinfo::PropertyInfo) overload
Sourcefn add_property_3(
self,
obj: impl Into<Object>,
name: impl Into<Il2CppString>,
flags: impl Into<BindingFlags>,
) -> DebugMenu
fn add_property_3( self, obj: impl Into<Object>, name: impl Into<Il2CppString>, flags: impl Into<BindingFlags>, ) -> DebugMenu
AddProperty(crate::system::object::Object, ::unity::Il2CppString, crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn add_property_4(
self,
obj: impl Into<Object>,
flags: impl Into<BindingFlags>,
) -> DebugMenu
fn add_property_4( self, obj: impl Into<Object>, flags: impl Into<BindingFlags>, ) -> DebugMenu
AddProperty(crate::system::object::Object, crate::system::reflection::bindingflags::BindingFlags) overload
Sourcefn add_label(self, name: impl Into<Il2CppString>) -> DebugMenu
fn add_label(self, name: impl Into<Il2CppString>) -> DebugMenu
AddLabel(::unity::Il2CppString) overload
Sourcefn add_label_2(
self,
name: impl Into<Il2CppString>,
english: impl Into<Il2CppString>,
) -> DebugMenu
fn add_label_2( self, name: impl Into<Il2CppString>, english: impl Into<Il2CppString>, ) -> DebugMenu
AddLabel(::unity::Il2CppString, ::unity::Il2CppString) overload
Sourcefn add_label_format(
self,
format: impl Into<Il2CppString>,
args: impl Into<Array<Object>>,
) -> DebugMenu
fn add_label_format( self, format: impl Into<Il2CppString>, args: impl Into<Array<Object>>, ) -> DebugMenu
AddLabelFormat(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>) overload
Sourcefn add_separator(self) -> DebugMenu
fn add_separator(self) -> DebugMenu
AddSeparator() overload
Sourcefn add_group_begin(
self,
name: impl Into<Il2CppString>,
state: impl Into<MenuItem_State>,
) -> DebugMenu
fn add_group_begin( self, name: impl Into<Il2CppString>, state: impl Into<MenuItem_State>, ) -> DebugMenu
AddGroupBegin(::unity::Il2CppString, crate::app::menuitem::MenuItem_State) overload
Sourcefn add_group_end(self) -> DebugMenu
fn add_group_end(self) -> DebugMenu
AddGroupEnd() overload
Sourcefn clear_item(self) -> DebugMenu
fn clear_item(self) -> DebugMenu
ClearItem() overload
Sourcefn set_pos_2(self, pos: impl Into<Vector2>) -> DebugMenu
fn set_pos_2(self, pos: impl Into<Vector2>) -> DebugMenu
SetPos(crate::unity_engine::vector2::Vector2) overload
Sourcefn set_size(self, w: impl Into<f32>, h: impl Into<f32>) -> DebugMenu
fn set_size(self, w: impl Into<f32>, h: impl Into<f32>) -> DebugMenu
SetSize(f32, f32) overload
Sourcefn set_size_2(self, size: impl Into<Vector2>) -> DebugMenu
fn set_size_2(self, size: impl Into<Vector2>) -> DebugMenu
SetSize(crate::unity_engine::vector2::Vector2) overload
Sourcefn set_height(self, h: impl Into<f32>) -> DebugMenu
fn set_height(self, h: impl Into<f32>) -> DebugMenu
SetHeight(f32) overload
Sourcefn set_rect(
self,
x: impl Into<f32>,
y: impl Into<f32>,
w: impl Into<f32>,
h: impl Into<f32>,
) -> DebugMenu
fn set_rect( self, x: impl Into<f32>, y: impl Into<f32>, w: impl Into<f32>, h: impl Into<f32>, ) -> DebugMenu
SetRect(f32, f32, f32, f32) overload
Sourcefn set_colot(self, color: impl Into<Color>) -> DebugMenu
fn set_colot(self, color: impl Into<Color>) -> DebugMenu
SetColot(crate::unity_engine::color::Color) overload
Sourcefn set_move_page(self, enable: impl Into<bool>) -> DebugMenu
fn set_move_page(self, enable: impl Into<bool>) -> DebugMenu
SetMovePage(bool) overload
Sourcefn set_map_cursor(self, enable: impl Into<bool>) -> DebugMenu
fn set_map_cursor(self, enable: impl Into<bool>) -> DebugMenu
SetMapCursor(bool) overload
Sourcefn reset_size(self)
fn reset_size(self)
ResetSize() overload
Sourcefn calc_width(self) -> DebugMenu
fn calc_width(self) -> DebugMenu
CalcWidth() overload
Sourcefn calc_height(self) -> DebugMenu
fn calc_height(self) -> DebugMenu
CalcHeight() overload
Sourcefn set_select(self, index: impl Into<i32>) -> DebugMenu
fn set_select(self, index: impl Into<i32>) -> DebugMenu
SetSelect(i32) overload
Sourcefn set_ancher(self, anchor: impl Into<GX_Anchor>) -> DebugMenu
fn set_ancher(self, anchor: impl Into<GX_Anchor>) -> DebugMenu
SetAncher(crate::app::gx::GX_Anchor) overload
Sourcefn set_ancher_pos(
self,
anchor: impl Into<GX_Anchor>,
offset: impl Into<f32>,
) -> DebugMenu
fn set_ancher_pos( self, anchor: impl Into<GX_Anchor>, offset: impl Into<f32>, ) -> DebugMenu
SetAncherPos(crate::app::gx::GX_Anchor, f32) overload
Sourcefn set_debug_time(self, time_scale: impl Into<f32>)
fn set_debug_time(self, time_scale: impl Into<f32>)
SetDebugTime(f32) overload
Sourcefn get_orient(self) -> f32
fn get_orient(self) -> f32
GetOrient() overload
Sourcefn get_select(self) -> i32
fn get_select(self) -> i32
GetSelect() overload
Sourcefn get_anchor(self) -> GX_Anchor
fn get_anchor(self) -> GX_Anchor
GetAnchor() overload
Sourcefn get_indent_offset(self, indent: impl Into<i32>) -> f32
fn get_indent_offset(self, indent: impl Into<i32>) -> f32
GetIndentOffset(i32) overload
Sourcefn calc_indent(self, indent: impl Into<i32>, item: impl Into<MenuItem>) -> i32
fn calc_indent(self, indent: impl Into<i32>, item: impl Into<MenuItem>) -> i32
CalcIndent(i32, crate::app::menuitem::MenuItem) overload
Sourcefn read_record(self)
fn read_record(self)
ReadRecord() overload
Sourcefn write_record(self)
fn write_record(self)
WriteRecord() overload
Sourcefn set_record(self, key: impl Into<Il2CppString>) -> DebugMenu
fn set_record(self, key: impl Into<Il2CppString>) -> DebugMenu
SetRecord(::unity::Il2CppString) overload
Sourcefn build_hierarchy(self) -> DebugMenu
fn build_hierarchy(self) -> DebugMenu
BuildHierarchy() overload
Sourcefn get_text_width(self, text: impl Into<Il2CppString>) -> f32
fn get_text_width(self, text: impl Into<Il2CppString>) -> f32
GetTextWidth(::unity::Il2CppString) overload
Sourcefn get_text_height(self, text: impl Into<Il2CppString>) -> f32
fn get_text_height(self, text: impl Into<Il2CppString>) -> f32
GetTextHeight(::unity::Il2CppString) overload
Sourcefn set_bind_mode(self, mode: impl Into<DebugMenu_BindMode>) -> DebugMenu
fn set_bind_mode(self, mode: impl Into<DebugMenu_BindMode>) -> DebugMenu
SetBindMode(crate::app::debugmenu::DebugMenu_BindMode) overload
Sourcefn get_bind_mode(self) -> DebugMenu_BindMode
fn get_bind_mode(self) -> DebugMenu_BindMode
GetBindMode() overload
Sourcefn get_current_bind_mode(self) -> DebugMenu_BindMode
fn get_current_bind_mode(self) -> DebugMenu_BindMode
GetCurrentBindMode() overload
Sourcefn get_base_color(self) -> Color
fn get_base_color(self) -> Color
GetBaseColor() overload
Sourcefn get_item_count(self) -> i32
fn get_item_count(self) -> i32
GetItemCount() overload
Sourcefn get_select_tick(self) -> i32
fn get_select_tick(self) -> i32
GetSelectTick() overload
Sourcefn get_select_time(self) -> f32
fn get_select_time(self) -> f32
GetSelectTime() 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§
impl<__T: IDebugMenu> IDebugMenuMethods for __T
app-debugmenu only.