Skip to main content

IGridMeshMethods

Trait IGridMeshMethods 

Source
pub trait IGridMeshMethods: IGridMesh {
    // Provided methods
    fn draw_grid(
        self,
        cell_map: impl Into<MapHeight_CellMap>,
        x: impl Into<i32>,
        z: impl Into<i32>,
        color: impl Into<Color>,
    ) { ... }
    fn update(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn draw_grid( self, cell_map: impl Into<MapHeight_CellMap>, x: impl Into<i32>, z: impl Into<i32>, color: impl Into<Color>, )

DrawGrid(crate::app::mapheight::MapHeight_CellMap, i32, i32, crate::unity_engine::color::Color) overload

Source

fn update(self)

Update() 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: IGridMesh> IGridMeshMethods for __T

Available on crate feature app-gridmesh only.