pub struct Tileset {
pub tileset: &'static [u8],
pub tile_size: (u32, u32),
}Fields§
§tileset: &'static [u8]§tile_size: (u32, u32)Trait Implementations§
Source§impl TilesetLike for &'static Tileset
impl TilesetLike for &'static Tileset
fn get_tileset(&self) -> &'static [u8] ⓘ
fn get_tile_size(&self) -> (u32, u32)
Auto Trait Implementations§
impl Freeze for Tileset
impl RefUnwindSafe for Tileset
impl Send for Tileset
impl Sync for Tileset
impl Unpin for Tileset
impl UnwindSafe for Tileset
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