pub trait IDebugMenuRenderMethods: IDebugMenuRender {
// Provided methods
fn start(self) { ... }
fn update(self) { ... }
fn set_menu(self, menu: impl Into<DebugMenu>) { ... }
fn get_anchor_rect(
self,
rect: impl Into<Rect>,
anchor: impl Into<GX_Anchor>,
) -> Rect { ... }
fn draw_text(
self,
rect: impl Into<Rect>,
color: impl Into<Color>,
text: impl Into<Il2CppString>,
) { ... }
fn draw_text_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
w: impl Into<f32>,
h: impl Into<f32>,
color: impl Into<Color>,
text: impl Into<Il2CppString>,
) { ... }
fn slide_rect_x(self, rect: impl Into<Rect>, size: impl Into<f32>) -> Rect { ... }
fn slide_rect_y(self, rect: impl Into<Rect>, size: impl Into<f32>) -> Rect { ... }
fn on_gui(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
SetMenu(crate::app::debugmenu::DebugMenu) overload
Sourcefn get_anchor_rect(
self,
rect: impl Into<Rect>,
anchor: impl Into<GX_Anchor>,
) -> Rect
fn get_anchor_rect( self, rect: impl Into<Rect>, anchor: impl Into<GX_Anchor>, ) -> Rect
GetAnchorRect(crate::unity_engine::rect::Rect, crate::app::gx::GX_Anchor) overload
Sourcefn draw_text(
self,
rect: impl Into<Rect>,
color: impl Into<Color>,
text: impl Into<Il2CppString>,
)
fn draw_text( self, rect: impl Into<Rect>, color: impl Into<Color>, text: impl Into<Il2CppString>, )
DrawText(crate::unity_engine::rect::Rect, crate::unity_engine::color::Color, ::unity::Il2CppString) overload
Sourcefn draw_text_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
w: impl Into<f32>,
h: impl Into<f32>,
color: impl Into<Color>,
text: impl Into<Il2CppString>,
)
fn draw_text_2( self, x: impl Into<f32>, y: impl Into<f32>, w: impl Into<f32>, h: impl Into<f32>, color: impl Into<Color>, text: impl Into<Il2CppString>, )
DrawText(f32, f32, f32, f32, crate::unity_engine::color::Color, ::unity::Il2CppString) overload
Sourcefn slide_rect_x(self, rect: impl Into<Rect>, size: impl Into<f32>) -> Rect
fn slide_rect_x(self, rect: impl Into<Rect>, size: impl Into<f32>) -> Rect
SlideRectX(crate::unity_engine::rect::Rect, f32) overload
Sourcefn slide_rect_y(self, rect: impl Into<Rect>, size: impl Into<f32>) -> Rect
fn slide_rect_y(self, rect: impl Into<Rect>, size: impl Into<f32>) -> Rect
SlideRectY(crate::unity_engine::rect::Rect, f32) 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: IDebugMenuRender> IDebugMenuRenderMethods for __T
Available on crate feature
root-debugmenurender only.