Skip to main content

IMiniMapCursorMethods

Trait IMiniMapCursorMethods 

Source
pub trait IMiniMapCursorMethods: IMiniMapCursor {
    // Provided methods
    fn get_scale(self) -> f32 { ... }
    fn set_scale(self, value: impl Into<f32>) { ... }
    fn get_calculated_grid_size(self) -> f32 { ... }
    fn set_calculated_grid_size(self, value: impl Into<f32>) { ... }
    fn get_is_cursor_visible(self) -> bool { ... }
    fn set_is_cursor_visible(self, value: impl Into<bool>) { ... }
    fn start(self) { ... }
    fn try_initialize_parts(self) { ... }
    fn calculate_cursor_position(self, grid_size: impl Into<f32>) -> Vector3 { ... }
    fn update(self) { ... }
    fn get_center(self) -> Vector3 { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_scale(self) -> f32

get_Scale() overload

Source

fn set_scale(self, value: impl Into<f32>)

set_Scale(f32) overload

Source

fn get_calculated_grid_size(self) -> f32

get_CalculatedGridSize() overload

Source

fn set_calculated_grid_size(self, value: impl Into<f32>)

set_CalculatedGridSize(f32) overload

Source

fn get_is_cursor_visible(self) -> bool

get_IsCursorVisible() overload

Source

fn set_is_cursor_visible(self, value: impl Into<bool>)

set_IsCursorVisible(bool) overload

Source

fn start(self)

Start() overload

Source

fn try_initialize_parts(self)

TryInitializeParts() overload

Source

fn calculate_cursor_position(self, grid_size: impl Into<f32>) -> Vector3

CalculateCursorPosition(f32) overload

Source

fn update(self)

Update() overload

Source

fn get_center(self) -> Vector3

GetCenter() 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: IMiniMapCursor> IMiniMapCursorMethods for __T

Available on crate feature app-minimapcursor only.