#[non_exhaustive]pub enum TileSlot {
TopLeftCorner,
TopRightCorner,
BottomLeftCorner,
BottomRightCorner,
TopEdge,
BottomEdge,
LeftEdge,
RightEdge,
Fill,
}Expand description
Position slot in a border tile set. Used by editors to identify which border tile to swap.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TopLeftCorner
TopRightCorner
BottomLeftCorner
BottomRightCorner
TopEdge
BottomEdge
LeftEdge
RightEdge
Fill
Trait Implementations§
impl Copy for TileSlot
impl Eq for TileSlot
impl StructuralPartialEq for TileSlot
Auto Trait Implementations§
impl Freeze for TileSlot
impl RefUnwindSafe for TileSlot
impl Send for TileSlot
impl Sync for TileSlot
impl Unpin for TileSlot
impl UnsafeUnpin for TileSlot
impl UnwindSafe for TileSlot
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