pub struct TileIndex {
pub header: GpuFileHeader,
pub entries: Vec<TileIndexEntry>,
}Expand description
Loaded tile index for O(1) tile lookup.
Fields§
§header: GpuFileHeaderHeader from the archive.
entries: Vec<TileIndexEntry>One entry per tile, in order.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TileIndex
impl RefUnwindSafe for TileIndex
impl Send for TileIndex
impl Sync for TileIndex
impl Unpin for TileIndex
impl UnsafeUnpin for TileIndex
impl UnwindSafe for TileIndex
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