pub enum TileID {
TilePrototype(LuaTilePrototype),
Tile(LuaTile),
Name(&'static str),
}Expand description
A tile may be specified in one of three ways.
Variants§
Trait Implementations§
impl Copy for TileID
Source§impl From<LuaTilePrototype> for TileID
impl From<LuaTilePrototype> for TileID
Source§fn from(value: LuaTilePrototype) -> Self
fn from(value: LuaTilePrototype) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for TileID
Auto Trait Implementations§
impl Freeze for TileID
impl RefUnwindSafe for TileID
impl Send for TileID
impl Sync for TileID
impl Unpin for TileID
impl UnsafeUnpin for TileID
impl UnwindSafe for TileID
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