Struct snes_bitplanes::Tile [] [src]

pub struct Tile(pub [u8; 64]);

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.

Methods

impl Tile
[src]

[src]

[src]

Trait Implementations

impl Copy for Tile
[src]

impl Clone for Tile
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Tile
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> IntoIterator for &'a Tile
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl<'a> IntoIterator for &'a mut Tile
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl PartialEq for Tile
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Tile
[src]

impl Hash for Tile
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl AsRef<[u8]> for Tile
[src]

[src]

Performs the conversion.

impl AsMut<[u8]> for Tile
[src]

[src]

Performs the conversion.

impl Borrow<[u8]> for Tile
[src]

[src]

Immutably borrows from an owned value. Read more

impl BorrowMut<[u8]> for Tile
[src]

[src]

Mutably borrows from an owned value. Read more

impl Default for Tile
[src]

[src]

Returns the "default value" for a type. Read more

impl Index<usize> for Tile
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

Auto Trait Implementations

impl Send for Tile

impl Sync for Tile