pub enum Tile {
Wall,
Floor,
}Expand description
Basic tile type for dungeon/terrain generation
Variants§
Implementations§
Trait Implementations§
Source§impl SemanticGenerator<Tile> for Bsp
impl SemanticGenerator<Tile> for Bsp
Source§fn generate_semantic(&self, grid: &Grid<Tile>, rng: &mut Rng) -> SemanticLayers
fn generate_semantic(&self, grid: &Grid<Tile>, rng: &mut Rng) -> SemanticLayers
Generate semantic layers for the given grid
Source§impl SemanticGenerator<Tile> for RoomAccretion
impl SemanticGenerator<Tile> for RoomAccretion
Source§fn generate_semantic(&self, grid: &Grid<Tile>, rng: &mut Rng) -> SemanticLayers
fn generate_semantic(&self, grid: &Grid<Tile>, rng: &mut Rng) -> SemanticLayers
Generate semantic layers for the given grid
impl Copy for Tile
impl Eq for Tile
impl StructuralPartialEq for Tile
Auto Trait Implementations§
impl Freeze for Tile
impl RefUnwindSafe for Tile
impl Send for Tile
impl Sync for Tile
impl Unpin for Tile
impl UnwindSafe for Tile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more