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§
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>)
Object Safety§
This trait is not object safe.