[][src]Struct ldtk_rust::FieldInstance

pub struct FieldInstance {
    pub identifier: String,
    pub field_instance_type: String,
    pub value: Option<Value>,
    pub def_uid: i64,
    pub real_editor_values: Vec<Option<Value>>,
}

Fields

identifier: String

Field definition identifier

field_instance_type: String

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

value: Option<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.

def_uid: i64

Reference of the Field definition UID

real_editor_values: Vec<Option<Value>>

Editor internal raw values

Trait Implementations

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, 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.