Struct ldtk::FieldInstance[][src]

pub struct FieldInstance {
    pub real_editor_values: Vec<Value>,
    pub __value: Value,
    pub __type: String,
    pub def_uid: i32,
    pub __identifier: String,
}

Fields

real_editor_values: Vec<Value>

Editor internal raw values

__value: Value

Actual value of the field instance. The value type may vary, depending on __type (Integer, Boolean, String etc.)
It can also be an Array of those same types.

__type: String

Type of the field, such as Int, Float, Enum(my_enum_name), Bool, etc.

def_uid: i32

Reference of the Field definition UID

__identifier: String

Field definition identifier

Trait Implementations

impl Clone for FieldInstance[src]

impl Debug for FieldInstance[src]

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

impl Serialize for FieldInstance[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.