pub struct TileDir(/* private fields */);Expand description
Allowed navigation directions from a tile.
Multiple directions can be combined with bitwise OR.
TileDir::ALL allows all four cardinal directions.
Implementations§
Trait Implementations§
impl Copy for TileDir
impl Eq for TileDir
impl StructuralPartialEq for TileDir
Auto Trait Implementations§
impl Freeze for TileDir
impl RefUnwindSafe for TileDir
impl Send for TileDir
impl Sync for TileDir
impl Unpin for TileDir
impl UnsafeUnpin for TileDir
impl UnwindSafe for TileDir
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