[][src]Enum tmx::map::TilesetKind

pub enum TilesetKind {
    Embedded(Tileset),
    External {
        source: String,
    },
}

Variants

Embedded(Tileset)
External

Fields of External

source: String

If this tileset is stored in an external TSX (Tile Set XML) file, this attribute refers to that file. That TSX file has the same structure as the element described here. (There is the firstgid attribute missing and this source attribute is also not there. These two attributes are kept in the TMX map, since they are map specific.)

Trait Implementations

impl Clone for TilesetKind[src]

impl Debug for TilesetKind[src]

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

impl Eq for TilesetKind[src]

impl Hash for TilesetKind[src]

impl PartialEq<TilesetKind> for TilesetKind[src]

impl StructuralEq for TilesetKind[src]

impl StructuralPartialEq for TilesetKind[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.