ForcedRefs

Struct ForcedRefs 

Source
pub struct ForcedRefs {
Show 24 fields pub auto_layer_rule_group: Option<AutoLayerRuleGroup>, pub auto_rule_def: Option<AutoLayerRuleDefinition>, pub definitions: Option<Definitions>, pub entity_def: Option<EntityDefinition>, pub entity_instance: Option<EntityInstance>, pub entity_reference_infos: Option<FieldInstanceEntityReference>, pub enum_def: Option<EnumDefinition>, pub enum_def_values: Option<EnumValueDefinition>, pub enum_tag_value: Option<EnumTagValue>, pub field_def: Option<FieldDefinition>, pub field_instance: Option<FieldInstance>, pub grid_point: Option<FieldInstanceGridPoint>, pub int_grid_value_def: Option<IntGridValueDefinition>, pub int_grid_value_instance: Option<IntGridValueInstance>, pub layer_def: Option<LayerDefinition>, pub layer_instance: Option<LayerInstance>, pub level: Option<Level>, pub level_bg_pos_infos: Option<LevelBackgroundPosition>, pub neighbour_level: Option<NeighbourLevel>, pub tile: Option<TileInstance>, pub tile_custom_metadata: Option<TileCustomMetadata>, pub tileset_def: Option<TilesetDefinition>, pub tileset_rect: Option<TilesetRectangle>, pub world: Option<World>,
}
Expand description

This object is not actually used by LDtk. It ONLY exists to force explicit references to all types, to make sure QuickType finds them and integrate all of them. Otherwise, Quicktype will drop types that are not explicitely used.

Fields§

§auto_layer_rule_group: Option<AutoLayerRuleGroup>§auto_rule_def: Option<AutoLayerRuleDefinition>§definitions: Option<Definitions>§entity_def: Option<EntityDefinition>§entity_instance: Option<EntityInstance>§entity_reference_infos: Option<FieldInstanceEntityReference>§enum_def: Option<EnumDefinition>§enum_def_values: Option<EnumValueDefinition>§enum_tag_value: Option<EnumTagValue>§field_def: Option<FieldDefinition>§field_instance: Option<FieldInstance>§grid_point: Option<FieldInstanceGridPoint>§int_grid_value_def: Option<IntGridValueDefinition>§int_grid_value_instance: Option<IntGridValueInstance>§layer_def: Option<LayerDefinition>§layer_instance: Option<LayerInstance>§level: Option<Level>§level_bg_pos_infos: Option<LevelBackgroundPosition>§neighbour_level: Option<NeighbourLevel>§tile: Option<TileInstance>§tile_custom_metadata: Option<TileCustomMetadata>§tileset_def: Option<TilesetDefinition>§tileset_rect: Option<TilesetRectangle>§world: Option<World>

Trait Implementations§

Source§

impl<'de> Deserialize<'de> for ForcedRefs

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for ForcedRefs

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,