pub struct LayerTile<'map> { /* private fields */ }Implementations§
Methods from Deref<Target = LayerTileData>§
Sourcepub fn tileset_index(&self) -> usize
pub fn tileset_index(&self) -> usize
Get the layer tile’s tileset index. Guaranteed to be a valid index of the map tileset container, but isn’t guaranteed to actually contain this tile.
Use LayerTile::get_tile if you want to obtain the Tile that this layer tile is
referencing.
Trait Implementations§
impl<'map> Copy for LayerTile<'map>
impl<'map> StructuralPartialEq for LayerTile<'map>
Auto Trait Implementations§
impl<'map> Freeze for LayerTile<'map>
impl<'map> RefUnwindSafe for LayerTile<'map>
impl<'map> Send for LayerTile<'map>
impl<'map> Sync for LayerTile<'map>
impl<'map> Unpin for LayerTile<'map>
impl<'map> UnwindSafe for LayerTile<'map>
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