[][src]Struct tmx::layer::Chunk

pub struct Chunk {
    pub x: u32,
    pub y: u32,
    pub width: u32,
    pub height: u32,
    pub data: Vec<Tile>,
}

Fields

x: u32

The x coordinate of the chunk in tiles.

y: u32

The y coordinate of the chunk in tiles.

width: u32

The width of the chunk in tiles.

height: u32

The height of the chunk in tiles.

data: Vec<Tile>

Trait Implementations

impl Clone for Chunk[src]

impl Debug for Chunk[src]

impl<'de> Deserialize<'de> for Chunk[src]

impl Eq for Chunk[src]

impl Hash for Chunk[src]

impl PartialEq<Chunk> for Chunk[src]

impl StructuralEq for Chunk[src]

impl StructuralPartialEq for Chunk[src]

Auto Trait Implementations

impl RefUnwindSafe for Chunk

impl Send for Chunk

impl Sync for Chunk

impl Unpin for Chunk

impl UnwindSafe for Chunk

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.