Struct abstio::DataPacks [−][src]
Player-chosen groups of files to opt into downloading
Fields
runtime: BTreeSet<String>
A list of cities to download for using in A/B Street. Expressed the same as
CityName::to_path
, like “gb/london”.
input: BTreeSet<String>
A list of cities to download for running the map importer.
Implementations
impl DataPacks
[src]
impl DataPacks
[src]pub fn load_or_create() -> DataPacks
[src]
Load the player’s config for what files to download, or create the config.
pub fn save(&self)
[src]
Saves the player’s config for what files to download.
pub fn all_data_packs() -> DataPacks
[src]
Fill out all data packs based on the local manifest.
Trait Implementations
impl<'de> Deserialize<'de> for DataPacks
[src]
impl<'de> Deserialize<'de> for DataPacks
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl RefUnwindSafe for DataPacks
impl Send for DataPacks
impl Sync for DataPacks
impl Unpin for DataPacks
impl UnwindSafe for DataPacks
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,