pub struct Tile(pub [u8; 64]);Expand description
Tile is a tuple struct wrapping an 8x8 byte array:
conceptually a tile of SNES graphics.
It exists because Rust hates arrays larger than 32 – downright hates ’em, I say! – and denies them their rightful impls.
Tuple Fields§
§0: [u8; 64]Implementations§
Trait Implementations§
Source§impl BorrowMut<[u8]> for Tile
impl BorrowMut<[u8]> for Tile
Source§fn borrow_mut(&mut self) -> &mut [u8]
fn borrow_mut(&mut self) -> &mut [u8]
Mutably borrows from an owned value. Read more
Source§impl<'a> IntoIterator for &'a Tile
impl<'a> IntoIterator for &'a Tile
Source§impl<'a> IntoIterator for &'a mut Tile
impl<'a> IntoIterator for &'a mut Tile
impl Copy for Tile
impl Eq for Tile
Auto Trait Implementations§
impl Freeze for Tile
impl RefUnwindSafe for Tile
impl Send for Tile
impl Sync for Tile
impl Unpin for Tile
impl UnwindSafe for Tile
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