[][src]Struct abstutil::Manifest

pub struct Manifest {
    pub entries: BTreeMap<String, Entry>,
}

Fields

entries: BTreeMap<String, Entry>

Keyed by path, starting with "data/"

Implementations

impl Manifest[src]

pub fn load() -> Manifest[src]

pub fn contains(&self, path: String) -> bool[src]

pub fn all_map_names(&self) -> BTreeSet<String>[src]

pub fn all_scenario_names(&self, map_name: &str) -> Vec<String>[src]

Trait Implementations

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

impl Serialize for Manifest[src]

Auto Trait Implementations

impl RefUnwindSafe for Manifest

impl Send for Manifest

impl Sync for Manifest

impl Unpin for Manifest

impl UnwindSafe for Manifest

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.