Skip to main content

IMascotColorChangeMenu_CursorTopMethods

Trait IMascotColorChangeMenu_CursorTopMethods 

Source
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§

Source

fn get_select_index_x(self) -> i32

get_SelectIndexX() overload

Source

fn get_select_index_y(self) -> i32

get_SelectIndexY() overload

Source

fn ctor(self, transform: impl Into<RectTransform>)

.ctor(crate::unity_engine::recttransform::RectTransform) overload

Source

fn set_index_instant(self, index: impl Into<i32>)

SetIndexInstant(i32) overload

Source

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

Source

fn update(self)

Update() overload

Source

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

SetPosition(f32, f32) overload

Source

fn get_position_x(self, select_index: impl Into<i32>) -> f32

GetPositionX(i32) overload

Source

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§

Source§

impl<__T: IMascotColorChangeMenu_CursorTop> IMascotColorChangeMenu_CursorTopMethods for __T

Available on crate feature app-mascotcolorchangemenu only.