Skip to main content

IMapPanelRouteMethods

Trait IMapPanelRouteMethods 

Source
pub trait IMapPanelRouteMethods: IMapPanelRoute {
Show 14 methods // Provided methods fn ctor(self) { ... } fn update(self) { ... } fn setup_route(self) { ... } fn setup_resume_route(self, routes: impl Into<Array<Dir_Type>>) { ... } fn set_transparent(self, enable: impl Into<bool>) { ... } fn save(self, routes: impl Into<Array<Dir_Type>>) { ... } fn reset(self) { ... } fn is_route(self) -> bool { ... } fn get_uv( self, old_dir: impl Into<Dir_Type>, cur_dir: impl Into<Dir_Type>, ) -> Vector2 { ... } fn add_vertical_vertex( self, old_dir: impl Into<Dir_Type>, old_x: impl Into<i32>, old_z: impl Into<i32>, x: impl Into<i32>, z: impl Into<i32>, ) { ... } fn add_head_vertex( self, old_dir: impl Into<Dir_Type>, x: impl Into<i32>, z: impl Into<i32>, ) { ... } fn add_cell( self, x: impl Into<i32>, z: impl Into<i32>, uv: impl Into<Vector2>, ) { ... } fn add_cell_2( self, x: impl Into<i32>, z: impl Into<i32>, color: impl Into<Color>, uv0: impl Into<Vector2>, uv2: impl Into<Vector3>, ) { ... } fn get_routes(self) -> Array<Dir_Type> { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn update(self)

Update() overload

Source

fn setup_route(self)

SetupRoute() overload

Source

fn setup_resume_route(self, routes: impl Into<Array<Dir_Type>>)

SetupResumeRoute(::unity::Array<crate::app::dir_2::Dir_Type>) overload

Source

fn set_transparent(self, enable: impl Into<bool>)

SetTransparent(bool) overload

Source

fn save(self, routes: impl Into<Array<Dir_Type>>)

Save(::unity::Array<crate::app::dir_2::Dir_Type>) overload

Source

fn reset(self)

Reset() overload

Source

fn is_route(self) -> bool

IsRoute() overload

Source

fn get_uv( self, old_dir: impl Into<Dir_Type>, cur_dir: impl Into<Dir_Type>, ) -> Vector2

GetUV(crate::app::dir_2::Dir_Type, crate::app::dir_2::Dir_Type) overload

Source

fn add_vertical_vertex( self, old_dir: impl Into<Dir_Type>, old_x: impl Into<i32>, old_z: impl Into<i32>, x: impl Into<i32>, z: impl Into<i32>, )

AddVerticalVertex(crate::app::dir_2::Dir_Type, i32, i32, i32, i32) overload

Source

fn add_head_vertex( self, old_dir: impl Into<Dir_Type>, x: impl Into<i32>, z: impl Into<i32>, )

AddHeadVertex(crate::app::dir_2::Dir_Type, i32, i32) overload

Source

fn add_cell(self, x: impl Into<i32>, z: impl Into<i32>, uv: impl Into<Vector2>)

AddCell(i32, i32, crate::unity_engine::vector2::Vector2) overload

Source

fn add_cell_2( self, x: impl Into<i32>, z: impl Into<i32>, color: impl Into<Color>, uv0: impl Into<Vector2>, uv2: impl Into<Vector3>, )

AddCell(i32, i32, crate::unity_engine::color::Color, crate::unity_engine::vector2::Vector2, crate::unity_engine::vector3::Vector3) overload

Source

fn get_routes(self) -> Array<Dir_Type>

get_Routes() 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: IMapPanelRoute> IMapPanelRouteMethods for __T

Available on crate feature app-mappanelroute only.