Struct ldtk2::ForcedRefs
source · pub struct ForcedRefs {Show 28 fields
pub auto_layer_rule_group: Option<AutoLayerRuleGroup>,
pub auto_rule_def: Option<AutoLayerRuleDefinition>,
pub custom_command: Option<LdtkCustomCommand>,
pub definitions: Option<Definitions>,
pub entity_def: Option<EntityDefinition>,
pub entity_instance: Option<EntityInstance>,
pub entity_reference_infos: Option<ReferenceToAnEntityInstance>,
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<GridPoint>,
pub int_grid_value_def: Option<IntGridValueDefinition>,
pub int_grid_value_group_def: Option<IntGridValueGroupDefinition>,
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 table_of_content_entry: Option<LdtkTableOfContentEntry>,
pub tile: Option<TileInstance>,
pub tile_custom_metadata: Option<TileCustomMetadata>,
pub tileset_def: Option<TilesetDefinition>,
pub tileset_rect: Option<TilesetRectangle>,
pub toc_instance_data: Option<LdtkTocInstanceData>,
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>
§custom_command: Option<LdtkCustomCommand>
§definitions: Option<Definitions>
§entity_def: Option<EntityDefinition>
§entity_instance: Option<EntityInstance>
§entity_reference_infos: Option<ReferenceToAnEntityInstance>
§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<GridPoint>
§int_grid_value_def: Option<IntGridValueDefinition>
§int_grid_value_group_def: Option<IntGridValueGroupDefinition>
§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>
§table_of_content_entry: Option<LdtkTableOfContentEntry>
§tile: Option<TileInstance>
§tile_custom_metadata: Option<TileCustomMetadata>
§tileset_def: Option<TilesetDefinition>
§tileset_rect: Option<TilesetRectangle>
§toc_instance_data: Option<LdtkTocInstanceData>
§world: Option<World>
Trait Implementations§
source§impl Clone for ForcedRefs
impl Clone for ForcedRefs
source§fn clone(&self) -> ForcedRefs
fn clone(&self) -> ForcedRefs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ForcedRefs
impl Debug for ForcedRefs
source§impl<'de> Deserialize<'de> for ForcedRefs
impl<'de> Deserialize<'de> for ForcedRefs
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ForcedRefs
impl Send for ForcedRefs
impl Sync for ForcedRefs
impl Unpin for ForcedRefs
impl UnwindSafe for ForcedRefs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more