pub trait IMascotColorChangeMenu_CursorTopMethods: IMascotColorChangeMenu_CursorTop {
// Provided methods
fn get_select_index_x(self) -> i32 { ... }
fn get_select_index_y(self) -> i32 { ... }
fn ctor(self, transform: impl Into<RectTransform>) { ... }
fn set_index_instant(self, index: impl Into<i32>) { ... }
fn move_cursor(
self,
move_x: impl Into<i32>,
move_y: impl Into<i32>,
is_trigger: impl Into<bool>,
) -> bool { ... }
fn update(self) { ... }
fn set_position(self, x: impl Into<f32>, y: impl Into<f32>) { ... }
fn get_position_x(self, select_index: impl Into<i32>) -> f32 { ... }
fn get_position_y(self, select_index: impl Into<i32>) -> f32 { ... }
}Provided Methods§
Sourcefn get_select_index_x(self) -> i32
fn get_select_index_x(self) -> i32
get_SelectIndexX() overload
Sourcefn get_select_index_y(self) -> i32
fn get_select_index_y(self) -> i32
get_SelectIndexY() overload
Sourcefn ctor(self, transform: impl Into<RectTransform>)
fn ctor(self, transform: impl Into<RectTransform>)
.ctor(crate::unity_engine::recttransform::RectTransform) overload
Sourcefn set_index_instant(self, index: impl Into<i32>)
fn set_index_instant(self, index: impl Into<i32>)
SetIndexInstant(i32) overload
Sourcefn move_cursor(
self,
move_x: impl Into<i32>,
move_y: impl Into<i32>,
is_trigger: impl Into<bool>,
) -> bool
fn move_cursor( self, move_x: impl Into<i32>, move_y: impl Into<i32>, is_trigger: impl Into<bool>, ) -> bool
MoveCursor(i32, i32, bool) overload
Sourcefn set_position(self, x: impl Into<f32>, y: impl Into<f32>)
fn set_position(self, x: impl Into<f32>, y: impl Into<f32>)
SetPosition(f32, f32) overload
Sourcefn get_position_x(self, select_index: impl Into<i32>) -> f32
fn get_position_x(self, select_index: impl Into<i32>) -> f32
GetPositionX(i32) overload
Sourcefn get_position_y(self, select_index: impl Into<i32>) -> f32
fn get_position_y(self, select_index: impl Into<i32>) -> f32
GetPositionY(i32) 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: IMascotColorChangeMenu_CursorTop> IMascotColorChangeMenu_CursorTopMethods for __T
Available on crate feature
app-mascotcolorchangemenu only.