Enum rust_warrior::floor::Tile
source · [−]pub enum Tile {
Wall,
Empty,
Stairs,
Unit(UnitType),
}
Expand description
The Floor::tile
method constructs a conceptual representation of the
floor using the Tile
enum.
Variants
Wall
Empty
Stairs
Unit(UnitType)
Implementations
Trait Implementations
impl Copy for Tile
impl StructuralPartialEq for Tile
Auto Trait Implementations
impl RefUnwindSafe for Tile
impl Send for Tile
impl Sync for Tile
impl Unpin for Tile
impl UnwindSafe for Tile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more