[][src]Struct df_st_core::df_world::DFWorld

pub struct DFWorld {
    pub id: i32,
    pub world_info: DFWorldInfo,
    pub regions: IndexMap<u64, Region>,
    pub underground_regions: IndexMap<u64, UndergroundRegion>,
    pub artifacts: IndexMap<u64, Artifact>,
    pub sites: IndexMap<u64, Site>,
    pub world_constructions: IndexMap<u64, WorldConstruction>,
    pub entity_populations: IndexMap<u64, EntityPopulation>,
    pub historical_figures: IndexMap<u64, HistoricalFigure>,
    pub mountain_peaks: IndexMap<u64, MountainPeak>,
    pub landmasses: IndexMap<u64, Landmass>,
    pub dance_forms: IndexMap<u64, DanceForm>,
    pub musical_forms: IndexMap<u64, MusicalForm>,
    pub poetic_forms: IndexMap<u64, PoeticForm>,
    pub written_contents: IndexMap<u64, WrittenContent>,
    pub historical_eras: IndexMap<u64, HistoricalEra>,
    pub rivers: IndexMap<u64, River>,
    pub creatures: IndexMap<u64, Creature>,
    pub identities: IndexMap<u64, Identity>,
    pub entities: IndexMap<u64, Entity>,
    pub historical_events: IndexMap<u64, HistoricalEvent>,
    pub historical_event_collections: IndexMap<u64, HistoricalEventCollection>,
    pub links_he_hf: HashSet<LinkHEHF>,
}

Fields

id: i32world_info: DFWorldInforegions: IndexMap<u64, Region>underground_regions: IndexMap<u64, UndergroundRegion>artifacts: IndexMap<u64, Artifact>sites: IndexMap<u64, Site>world_constructions: IndexMap<u64, WorldConstruction>entity_populations: IndexMap<u64, EntityPopulation>historical_figures: IndexMap<u64, HistoricalFigure>mountain_peaks: IndexMap<u64, MountainPeak>landmasses: IndexMap<u64, Landmass>dance_forms: IndexMap<u64, DanceForm>musical_forms: IndexMap<u64, MusicalForm>poetic_forms: IndexMap<u64, PoeticForm>written_contents: IndexMap<u64, WrittenContent>historical_eras: IndexMap<u64, HistoricalEra>rivers: IndexMap<u64, River>creatures: IndexMap<u64, Creature>identities: IndexMap<u64, Identity>entities: IndexMap<u64, Entity>historical_events: IndexMap<u64, HistoricalEvent>historical_event_collections: IndexMap<u64, HistoricalEventCollection>links_he_hf: HashSet<LinkHEHF>

Implementations

impl DFWorld[src]

pub fn new() -> Self[src]

Create a new empty world

pub fn list_containt_counts(&self) -> String[src]

Display count for all object in the world

pub fn add_missing_ids(self) -> Self[src]

pub fn empty_copy(&self) -> DFWorld[src]

Trait Implementations

impl Clone for DFWorld[src]

impl Debug for DFWorld[src]

impl Default for DFWorld[src]

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

impl Fillable for DFWorld[src]

impl Filler<DFWorld, DFWorld> for DFWorld[src]

impl JsonSchema for DFWorld[src]

impl PartialEq<DFWorld> for DFWorld[src]

impl Serialize for DFWorld[src]

impl StructuralPartialEq for DFWorld[src]

Auto Trait Implementations

impl RefUnwindSafe for DFWorld

impl Send for DFWorld

impl Sync for DFWorld

impl Unpin for DFWorld

impl UnwindSafe for DFWorld

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> DynClone for T where
    T: Clone
[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.