Struct ldtk::EnumDef[][src]

pub struct EnumDef {
    pub external_rel_path: Option<String>,
    pub values: Vec<EnumDefValues>,
    pub identifier: String,
    pub external_file_checksum: Option<String>,
    pub icon_tileset_uid: Option<i32>,
    pub uid: i32,
}

Fields

external_rel_path: Option<String>

Relative path to the external file providing this Enum

values: Vec<EnumDefValues>

All possible enum values, with their optional Tile infos.

identifier: String

Unique String identifier

external_file_checksum: Option<String>
icon_tileset_uid: Option<i32>

Tileset UID if provided

uid: i32

Unique Int identifier

Trait Implementations

impl Clone for EnumDef[src]

impl Debug for EnumDef[src]

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

impl Serialize for EnumDef[src]

Auto Trait Implementations

impl RefUnwindSafe for EnumDef

impl Send for EnumDef

impl Sync for EnumDef

impl Unpin for EnumDef

impl UnwindSafe for EnumDef

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.