Trait de_terrain::marker::Marker

source ·
trait Marker {
    type Shape: Clone + Copy;

    const UNIFORM_CAPACITY: usize;

    // Required methods
    fn as_shape(&self, position: Vec2) -> Self::Shape;
    fn apply_to_material(
        material: &mut TerrainMaterial,
        shapes: Vec<Self::Shape>
    );
}

Required Associated Types§

Required Associated Constants§

Required Methods§

source

fn as_shape(&self, position: Vec2) -> Self::Shape

source

fn apply_to_material(material: &mut TerrainMaterial, shapes: Vec<Self::Shape>)

Object Safety§

This trait is not object safe.

Implementors§