[][src]Enum ogmo3::level::LayerData

pub enum LayerData {
    Tile(LayerTileData),
    Tile2D(LayerTile2DData),
    TileCoords(LayerTileCoordsData),
    TileCoords2D(LayerTileCoords2DData),
    Grid(LayerGridData),
    Grid2D(LayerGrid2DData),
    Entity(LayerEntityData),
    Decal(LayerDecalData),
}

Data specific to certain layer types.

Variants

Data specific to tile layers with 1D storage.

Data specific to tile layers with 2D storage.

Data specific to tile co-ord layers with 1D storage.

TileCoords2D(LayerTileCoords2DData)

Data specific to tile co-ord layers with 2D storage.

Data specific to grid layers with 1D storage.

Data specific to grid layers with 2D storage.

Data specific to entity layers.

Data specific to decal layers.

Trait Implementations

impl Clone for LayerData[src]

impl Debug for LayerData[src]

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

Auto Trait Implementations

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.