Trait veloren_world::site2::gen::Structure
source · pub trait Structure {
// Provided methods
fn render_inner(&self, _site: &Site, _land: &Land<'_>, _painter: &Painter) { ... }
fn render(&self, site: &Site, land: &Land<'_>, painter: &Painter) { ... }
fn render_collect(
&self,
site: &Site,
canvas: &CanvasInfo<'_>,
) -> (Store<Primitive>, Vec<(Id<Primitive>, Fill)>, Vec<EntityInfo>) { ... }
fn terrain_surface_at<R: Rng>(
&self,
_wpos: Vec2<i32>,
_old: Block,
_rng: &mut R,
_col: &ColumnSample<'_>,
_z_off: i32,
) -> Option<Block> { ... }
}
Provided Methods§
fn render_inner(&self, _site: &Site, _land: &Land<'_>, _painter: &Painter)
fn render(&self, site: &Site, land: &Land<'_>, painter: &Painter)
fn render_collect( &self, site: &Site, canvas: &CanvasInfo<'_>, ) -> (Store<Primitive>, Vec<(Id<Primitive>, Fill)>, Vec<EntityInfo>)
fn terrain_surface_at<R: Rng>( &self, _wpos: Vec2<i32>, _old: Block, _rng: &mut R, _col: &ColumnSample<'_>, _z_off: i32, ) -> Option<Block>
Object Safety§
This trait is not object safe.