[−][src]Struct ldtk_rust::FieldInstance
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]
pub fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for FieldInstance
[src]
Auto Trait Implementations
impl RefUnwindSafe for FieldInstance
[src]
impl Send for FieldInstance
[src]
impl Sync for FieldInstance
[src]
impl Unpin for FieldInstance
[src]
impl UnwindSafe for FieldInstance
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,