diff --git a/rustdoc/abstio/abst_data/struct.DataPacks.html b/rustdoc/abstio/abst_data/struct.DataPacks.html index 0f17aa0275..225106e14b 100644 --- a/rustdoc/abstio/abst_data/struct.DataPacks.html +++ b/rustdoc/abstio/abst_data/struct.DataPacks.html @@ -12,20 +12,16 @@

Implementations

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 Serialize for DataPacks[src]

Trait Implementations

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

impl Serialize for DataPacks[src]

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

impl<T> Instrument for T[src]

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

impl<T> From<T> for T[src]

impl<T> Instrument 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.

uncompressed_size_bytes: u64

Uncompressed size in bytes. Because we have some massive files more than 2^32 bytes described by this, explicitly use u64 instead of usize, so wasm doesn’t break.

compressed_size_bytes: u64

Compressed size in bytes

-

Trait Implementations

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

impl Serialize for Entry[src]

Trait Implementations

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

impl Serialize for Entry[src]

Auto Trait Implementations

impl RefUnwindSafe for Entry

impl Send for Entry

impl Sync for Entry

impl Unpin for Entry

impl UnwindSafe for Entry

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

impl<T> Instrument for T[src]

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

impl<T> From<T> for T[src]

impl<T> Instrument 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.

pub fn path_to_city(path: &str) -> Option<CityName>[src]

If an entry’s path is system data, return the city.

-

Trait Implementations

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

impl Serialize for Manifest[src]

Trait Implementations

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

impl Serialize for Manifest[src]

Auto Trait Implementations

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

impl<T> Instrument for T[src]

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

impl<T> From<T> for T[src]

impl<T> Instrument 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.

fn list_all_cities_locally() -> Vec<CityName>[src]

Returns all city names available locally.

pub fn list_all_cities_from_manifest(manifest: &Manifest) -> Vec<CityName>[src]

Returns all city names based on the manifest of available files.

pub fn list_all_cities_from_importer_config() -> Vec<CityName>[src]

Returns all city names based on importer config.

-

pub fn parse(x: &str) -> Result<CityName>[src]

Parses a CityName from something like “gb/london”; the inverse of to_path.

+

pub fn parse(x: &str) -> Result<CityName>[src]

Parses a CityName from something like “gb/london”; the inverse of to_path.

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

Expresses the city as a path, like “gb/london”; the inverse of parse.

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

Stringify the city name for debug messages. Don’t implement std::fmt::Display, to force callers to explicitly opt into this description, which could change.

@@ -22,7 +22,7 @@ callers to explicitly opt into this description, which could change.

Trait Implementations

impl Clone for CityName[src]

impl Debug for CityName[src]

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

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

impl Eq for CityName[src]

impl Ord for CityName[src]

impl Serialize for CityName[src]

impl Serialize for CityName[src]

impl StructuralEq for CityName[src]

impl StructuralPartialEq for CityName[src]

Auto Trait Implementations

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument 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.

Trait Implementations

impl Clone for MapName[src]

impl Debug for MapName[src]

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

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

impl Eq for MapName[src]

impl Ord for MapName[src]

impl Serialize for MapName[src]

impl Serialize for MapName[src]

impl StructuralEq for MapName[src]

impl StructuralPartialEq for MapName[src]

Auto Trait Implementations

impl RefUnwindSafe for MapName

impl Send for MapName

impl Sync for MapName

impl Unpin for MapName

impl UnwindSafe for MapName

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument 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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument 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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument 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.

Function abstio::maybe_read_binary[][src]

pub fn maybe_read_binary<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> Result<T>
\ No newline at end of file diff --git a/rustdoc/abstio/fn.maybe_read_json.html b/rustdoc/abstio/fn.maybe_read_json.html index 2ec7e8f9d8..e44af853fb 100644 --- a/rustdoc/abstio/fn.maybe_read_json.html +++ b/rustdoc/abstio/fn.maybe_read_json.html @@ -1,5 +1,5 @@ abstio::maybe_read_json - Rust

Function abstio::maybe_read_json[][src]

pub fn maybe_read_json<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> Result<T>
+ Change settings

Function abstio::maybe_read_json[][src]

pub fn maybe_read_json<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> Result<T>
\ No newline at end of file diff --git a/rustdoc/abstio/fn.must_read_object.html b/rustdoc/abstio/fn.must_read_object.html index 151d9851f2..82b9f0d80f 100644 --- a/rustdoc/abstio/fn.must_read_object.html +++ b/rustdoc/abstio/fn.must_read_object.html @@ -1,6 +1,6 @@ abstio::must_read_object - Rust

Function abstio::must_read_object[][src]

pub fn must_read_object<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> T

May be a JSON or binary file. Panics on failure.

+ Change settings

Function abstio::must_read_object[][src]

pub fn must_read_object<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> T

May be a JSON or binary file. Panics on failure.

\ No newline at end of file diff --git a/rustdoc/abstio/fn.read_binary.html b/rustdoc/abstio/fn.read_binary.html index 7cfad1eaec..3a4abe806c 100644 --- a/rustdoc/abstio/fn.read_binary.html +++ b/rustdoc/abstio/fn.read_binary.html @@ -1,5 +1,5 @@ abstio::read_binary - Rust

Function abstio::read_binary[][src]

pub fn read_binary<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> T
+ Change settings

Function abstio::read_binary[][src]

pub fn read_binary<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> T
\ No newline at end of file diff --git a/rustdoc/abstio/fn.read_json.html b/rustdoc/abstio/fn.read_json.html index 136b035f83..4b6106f598 100644 --- a/rustdoc/abstio/fn.read_json.html +++ b/rustdoc/abstio/fn.read_json.html @@ -1,5 +1,5 @@ abstio::read_json - Rust

Function abstio::read_json[][src]

pub fn read_json<T: DeserializeOwned>(path: String, timer: &mut Timer<'_>) -> T
+ Change settings

Function abstio::read_json[][src]

pub fn read_json<T: DeserializeOwned>(path: String, timer: &mut Timer<'_>) -> T
\ No newline at end of file diff --git a/rustdoc/abstio/fn.read_object.html b/rustdoc/abstio/fn.read_object.html index b20e35ce5f..90c686859e 100644 --- a/rustdoc/abstio/fn.read_object.html +++ b/rustdoc/abstio/fn.read_object.html @@ -1,6 +1,6 @@ abstio::read_object - Rust

Function abstio::read_object[][src]

pub fn read_object<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> Result<T>

May be a JSON or binary file

+ Change settings

Function abstio::read_object[][src]

pub fn read_object<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> Result<T>

May be a JSON or binary file

\ No newline at end of file diff --git a/rustdoc/abstio/fn.slurp_file.html b/rustdoc/abstio/fn.slurp_file.html index cb13924fa5..35d72ec69c 100644 --- a/rustdoc/abstio/fn.slurp_file.html +++ b/rustdoc/abstio/fn.slurp_file.html @@ -1,5 +1,5 @@ abstio::slurp_file - Rust

Function abstio::slurp_file[][src]

pub fn slurp_file<I: AsRef<str>>(path: I) -> Result<Vec<u8>>
+ Change settings

Function abstio::slurp_file[][src]

pub fn slurp_file<I: AsRef<str>>(path: I) -> Result<Vec<u8>>
\ No newline at end of file diff --git a/rustdoc/abstio/fn.write_binary.html b/rustdoc/abstio/fn.write_binary.html index 9733e21d2e..ad8cad24f8 100644 --- a/rustdoc/abstio/fn.write_binary.html +++ b/rustdoc/abstio/fn.write_binary.html @@ -1,5 +1,5 @@ abstio::write_binary - Rust

Function abstio::write_binary[][src]

pub fn write_binary<T: Serialize>(path: String, obj: &T)
+ Change settings

Function abstio::write_binary[][src]

pub fn write_binary<T: Serialize>(path: String, obj: &T)
\ No newline at end of file diff --git a/rustdoc/abstio/fn.write_json.html b/rustdoc/abstio/fn.write_json.html index 70d62e2a3f..a203d08df4 100644 --- a/rustdoc/abstio/fn.write_json.html +++ b/rustdoc/abstio/fn.write_json.html @@ -1,5 +1,5 @@ abstio::write_json - Rust

Function abstio::write_json[][src]

pub fn write_json<T: Serialize>(path: String, obj: &T)
+ Change settings

Function abstio::write_json[][src]

pub fn write_json<T: Serialize>(path: String, obj: &T)
\ No newline at end of file diff --git a/rustdoc/abstio/io/fn.load_all_objects.html b/rustdoc/abstio/io/fn.load_all_objects.html index f350a1a17d..19789aca67 100644 --- a/rustdoc/abstio/io/fn.load_all_objects.html +++ b/rustdoc/abstio/io/fn.load_all_objects.html @@ -1,7 +1,7 @@ abstio::io::load_all_objects - Rust

Function abstio::io::load_all_objects[][src]

pub fn load_all_objects<T: DeserializeOwned>(dir: String) -> Vec<(String, T)>

Load all serialized things from a directory, return sorted by name, with file extension removed. + Change settings

Function abstio::io::load_all_objects[][src]

pub fn load_all_objects<T: DeserializeOwned>(dir: String) -> Vec<(String, T)>

Load all serialized things from a directory, return sorted by name, with file extension removed. Detects JSON or binary. Filters out broken files.

\ No newline at end of file diff --git a/rustdoc/abstio/io/fn.maybe_read_json.html b/rustdoc/abstio/io/fn.maybe_read_json.html index c28bc56e9c..fb7dfcf03c 100644 --- a/rustdoc/abstio/io/fn.maybe_read_json.html +++ b/rustdoc/abstio/io/fn.maybe_read_json.html @@ -1,5 +1,5 @@ abstio::io::maybe_read_json - Rust

Function abstio::io::maybe_read_json[][src]

pub fn maybe_read_json<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> Result<T>
+ Change settings

Function abstio::io::maybe_read_json[][src]

pub fn maybe_read_json<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> Result<T>
\ No newline at end of file diff --git a/rustdoc/abstio/io/fn.must_read_object.html b/rustdoc/abstio/io/fn.must_read_object.html index 4d316f4ea3..836d4a1e94 100644 --- a/rustdoc/abstio/io/fn.must_read_object.html +++ b/rustdoc/abstio/io/fn.must_read_object.html @@ -1,6 +1,6 @@ abstio::io::must_read_object - Rust

Function abstio::io::must_read_object[][src]

pub fn must_read_object<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> T

May be a JSON or binary file. Panics on failure.

+ Change settings

Function abstio::io::must_read_object[][src]

pub fn must_read_object<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> T

May be a JSON or binary file. Panics on failure.

\ No newline at end of file diff --git a/rustdoc/abstio/io/fn.read_binary.html b/rustdoc/abstio/io/fn.read_binary.html index 76867a15b3..3c7e18cae5 100644 --- a/rustdoc/abstio/io/fn.read_binary.html +++ b/rustdoc/abstio/io/fn.read_binary.html @@ -1,5 +1,5 @@ abstio::io::read_binary - Rust

Function abstio::io::read_binary[][src]

pub fn read_binary<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> T
+ Change settings

Function abstio::io::read_binary[][src]

pub fn read_binary<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> T
\ No newline at end of file diff --git a/rustdoc/abstio/io/fn.read_json.html b/rustdoc/abstio/io/fn.read_json.html index 1c7f3afef5..f0c755e002 100644 --- a/rustdoc/abstio/io/fn.read_json.html +++ b/rustdoc/abstio/io/fn.read_json.html @@ -1,5 +1,5 @@ abstio::io::read_json - Rust

Function abstio::io::read_json[][src]

pub fn read_json<T: DeserializeOwned>(path: String, timer: &mut Timer<'_>) -> T
+ Change settings

Function abstio::io::read_json[][src]

pub fn read_json<T: DeserializeOwned>(path: String, timer: &mut Timer<'_>) -> T
\ No newline at end of file diff --git a/rustdoc/abstio/io/fn.read_object.html b/rustdoc/abstio/io/fn.read_object.html index 0c571c7e85..ce2c453926 100644 --- a/rustdoc/abstio/io/fn.read_object.html +++ b/rustdoc/abstio/io/fn.read_object.html @@ -1,6 +1,6 @@ abstio::io::read_object - Rust

Function abstio::io::read_object[][src]

pub fn read_object<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> Result<T>

May be a JSON or binary file

+ Change settings

Function abstio::io::read_object[][src]

pub fn read_object<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> Result<T>

May be a JSON or binary file

\ No newline at end of file diff --git a/rustdoc/abstio/io_native/fn.inner_slurp_file.html b/rustdoc/abstio/io_native/fn.inner_slurp_file.html index 0265545438..cbb846fba9 100644 --- a/rustdoc/abstio/io_native/fn.inner_slurp_file.html +++ b/rustdoc/abstio/io_native/fn.inner_slurp_file.html @@ -1,5 +1,5 @@ abstio::io_native::inner_slurp_file - Rust

Function abstio::io_native::inner_slurp_file[][src]

fn inner_slurp_file(path: &str) -> Result<Vec<u8>>
+ Change settings

Function abstio::io_native::inner_slurp_file[][src]

fn inner_slurp_file(path: &str) -> Result<Vec<u8>>
\ No newline at end of file diff --git a/rustdoc/abstio/io_native/fn.maybe_read_binary.html b/rustdoc/abstio/io_native/fn.maybe_read_binary.html index 32d5c18125..8b3a629490 100644 --- a/rustdoc/abstio/io_native/fn.maybe_read_binary.html +++ b/rustdoc/abstio/io_native/fn.maybe_read_binary.html @@ -1,5 +1,5 @@ abstio::io_native::maybe_read_binary - Rust

Function abstio::io_native::maybe_read_binary[][src]

pub fn maybe_read_binary<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> Result<T>
+ Change settings

Function abstio::io_native::maybe_read_binary[][src]

pub fn maybe_read_binary<T: DeserializeOwned>(
    path: String,
    timer: &mut Timer<'_>
) -> Result<T>
\ No newline at end of file diff --git a/rustdoc/abstio/io_native/fn.maybe_write_binary.html b/rustdoc/abstio/io_native/fn.maybe_write_binary.html index e987785434..37002cf63f 100644 --- a/rustdoc/abstio/io_native/fn.maybe_write_binary.html +++ b/rustdoc/abstio/io_native/fn.maybe_write_binary.html @@ -1,5 +1,5 @@ abstio::io_native::maybe_write_binary - Rust

Function abstio::io_native::maybe_write_binary[][src]

fn maybe_write_binary<T: Serialize>(path: &str, obj: &T) -> Result<()>
+ Change settings

Function abstio::io_native::maybe_write_binary[][src]

fn maybe_write_binary<T: Serialize>(path: &str, obj: &T) -> Result<()>
\ No newline at end of file diff --git a/rustdoc/abstio/io_native/fn.maybe_write_json.html b/rustdoc/abstio/io_native/fn.maybe_write_json.html index 70023a69d5..4413e5bed9 100644 --- a/rustdoc/abstio/io_native/fn.maybe_write_json.html +++ b/rustdoc/abstio/io_native/fn.maybe_write_json.html @@ -1,5 +1,5 @@ abstio::io_native::maybe_write_json - Rust

Function abstio::io_native::maybe_write_json[][src]

fn maybe_write_json<T: Serialize>(path: &str, obj: &T) -> Result<()>
+ Change settings

Function abstio::io_native::maybe_write_json[][src]

fn maybe_write_json<T: Serialize>(path: &str, obj: &T) -> Result<()>
\ No newline at end of file diff --git a/rustdoc/abstio/io_native/fn.slurp_file.html b/rustdoc/abstio/io_native/fn.slurp_file.html index 8985747640..1b7a10463b 100644 --- a/rustdoc/abstio/io_native/fn.slurp_file.html +++ b/rustdoc/abstio/io_native/fn.slurp_file.html @@ -1,5 +1,5 @@ abstio::io_native::slurp_file - Rust

Function abstio::io_native::slurp_file[][src]

pub fn slurp_file<I: AsRef<str>>(path: I) -> Result<Vec<u8>>
+ Change settings

Function abstio::io_native::slurp_file[][src]

pub fn slurp_file<I: AsRef<str>>(path: I) -> Result<Vec<u8>>
\ No newline at end of file diff --git a/rustdoc/abstio/io_native/fn.write_binary.html b/rustdoc/abstio/io_native/fn.write_binary.html index 2394da22fe..a395c4396e 100644 --- a/rustdoc/abstio/io_native/fn.write_binary.html +++ b/rustdoc/abstio/io_native/fn.write_binary.html @@ -1,5 +1,5 @@ abstio::io_native::write_binary - Rust

Function abstio::io_native::write_binary[][src]

pub fn write_binary<T: Serialize>(path: String, obj: &T)
+ Change settings

Function abstio::io_native::write_binary[][src]

pub fn write_binary<T: Serialize>(path: String, obj: &T)
\ No newline at end of file diff --git a/rustdoc/abstio/io_native/fn.write_json.html b/rustdoc/abstio/io_native/fn.write_json.html index 66d7a64904..ac7e54ed11 100644 --- a/rustdoc/abstio/io_native/fn.write_json.html +++ b/rustdoc/abstio/io_native/fn.write_json.html @@ -1,5 +1,5 @@ abstio::io_native::write_json - Rust

Function abstio::io_native::write_json[][src]

pub fn write_json<T: Serialize>(path: String, obj: &T)
+ Change settings

Function abstio::io_native::write_json[][src]

pub fn write_json<T: Serialize>(path: String, obj: &T)
\ No newline at end of file diff --git a/rustdoc/abstio/io_native/struct.FileWithProgress.html b/rustdoc/abstio/io_native/struct.FileWithProgress.html index 9ed277242e..996a7be170 100644 --- a/rustdoc/abstio/io_native/struct.FileWithProgress.html +++ b/rustdoc/abstio/io_native/struct.FileWithProgress.html @@ -1,6 +1,6 @@ abstio::io_native::FileWithProgress - Rust -

Function abstutil::deserialize_btreemap[][src]

pub fn deserialize_btreemap<'de, D: Deserializer<'de>, K: Deserialize<'de> + Ord, V: Deserialize<'de>>(
    d: D
) -> Result<BTreeMap<K, V>, D::Error>

Deserializes a BTreeMap from a list of tuples. Necessary when the keys are structs; see https://github.com/serde-rs/json/issues/402.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.deserialize_hashmap.html b/rustdoc/abstutil/fn.deserialize_hashmap.html index 93abfb15d3..b66013e3d1 100644 --- a/rustdoc/abstutil/fn.deserialize_hashmap.html +++ b/rustdoc/abstutil/fn.deserialize_hashmap.html @@ -1,6 +1,6 @@ abstutil::deserialize_hashmap - Rust

Function abstutil::deserialize_hashmap[][src]

pub fn deserialize_hashmap<'de, D: Deserializer<'de>, K: Deserialize<'de> + Hash + Eq, V: Deserialize<'de>>(
    d: D
) -> Result<HashMap<K, V>, D::Error>

Deserializes a HashMap from a list of tuples.

+ Change settings

Function abstutil::deserialize_hashmap[][src]

pub fn deserialize_hashmap<'de, D: Deserializer<'de>, K: Deserialize<'de> + Hash + Eq, V: Deserialize<'de>>(
    d: D
) -> Result<HashMap<K, V>, D::Error>

Deserializes a HashMap from a list of tuples.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.deserialize_multimap.html b/rustdoc/abstutil/fn.deserialize_multimap.html index 2ed8130a2c..a38f0f7c83 100644 --- a/rustdoc/abstutil/fn.deserialize_multimap.html +++ b/rustdoc/abstutil/fn.deserialize_multimap.html @@ -1,6 +1,6 @@ abstutil::deserialize_multimap - Rust

Function abstutil::deserialize_multimap[][src]

pub fn deserialize_multimap<'de, D: Deserializer<'de>, K: Deserialize<'de> + Eq + Ord + Clone, V: Deserialize<'de> + Eq + Ord + Clone>(
    d: D
) -> Result<MultiMap<K, V>, D::Error>

Deserializes a MultiMap.

+ Change settings

Function abstutil::deserialize_multimap[][src]

pub fn deserialize_multimap<'de, D: Deserializer<'de>, K: Deserialize<'de> + Eq + Ord + Clone, V: Deserialize<'de> + Eq + Ord + Clone>(
    d: D
) -> Result<MultiMap<K, V>, D::Error>

Deserializes a MultiMap.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.deserialize_usize.html b/rustdoc/abstutil/fn.deserialize_usize.html index a111c42111..54d50dc967 100644 --- a/rustdoc/abstutil/fn.deserialize_usize.html +++ b/rustdoc/abstutil/fn.deserialize_usize.html @@ -1,6 +1,6 @@ abstutil::deserialize_usize - Rust

Function abstutil::deserialize_usize[][src]

pub fn deserialize_usize<'de, D: Deserializer<'de>>(
    d: D
) -> Result<usize, D::Error>

Deserializes a usize from a u32.

+ Change settings

Function abstutil::deserialize_usize[][src]

pub fn deserialize_usize<'de, D: Deserializer<'de>>(
    d: D
) -> Result<usize, D::Error>

Deserializes a usize from a u32.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.from_binary.html b/rustdoc/abstutil/fn.from_binary.html index ab2862df47..2e40a74a75 100644 --- a/rustdoc/abstutil/fn.from_binary.html +++ b/rustdoc/abstutil/fn.from_binary.html @@ -1,6 +1,6 @@ abstutil::from_binary - Rust

Function abstutil::from_binary[][src]

pub fn from_binary<T: DeserializeOwned>(raw: &[u8]) -> Result<T>

Deserializes an object from the bincode format.

+ Change settings

Function abstutil::from_binary[][src]

pub fn from_binary<T: DeserializeOwned>(raw: &[u8]) -> Result<T>

Deserializes an object from the bincode format.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.from_binary_reader.html b/rustdoc/abstutil/fn.from_binary_reader.html index e333c2d85e..579dac4f81 100644 --- a/rustdoc/abstutil/fn.from_binary_reader.html +++ b/rustdoc/abstutil/fn.from_binary_reader.html @@ -1,6 +1,6 @@ abstutil::from_binary_reader - Rust

Function abstutil::from_binary_reader[][src]

pub fn from_binary_reader<R: Read, T: DeserializeOwned>(reader: R) -> Result<T>

Deserializes an object from the bincode format, from a reader.

+ Change settings

Function abstutil::from_binary_reader[][src]

pub fn from_binary_reader<R: Read, T: DeserializeOwned>(reader: R) -> Result<T>

Deserializes an object from the bincode format, from a reader.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.from_json.html b/rustdoc/abstutil/fn.from_json.html index 14ecf39280..e7a4da959b 100644 --- a/rustdoc/abstutil/fn.from_json.html +++ b/rustdoc/abstutil/fn.from_json.html @@ -1,6 +1,6 @@ abstutil::from_json - Rust

Function abstutil::from_json[][src]

pub fn from_json<T: DeserializeOwned>(raw: &[u8]) -> Result<T>

Deserializes an object from a JSON string.

+ Change settings

Function abstutil::from_json[][src]

pub fn from_json<T: DeserializeOwned>(raw: &[u8]) -> Result<T>

Deserializes an object from a JSON string.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.from_json_reader.html b/rustdoc/abstutil/fn.from_json_reader.html index 2b425d05fb..40ae417c94 100644 --- a/rustdoc/abstutil/fn.from_json_reader.html +++ b/rustdoc/abstutil/fn.from_json_reader.html @@ -1,6 +1,6 @@ abstutil::from_json_reader - Rust

Function abstutil::from_json_reader[][src]

pub fn from_json_reader<R: Read, T: DeserializeOwned>(reader: R) -> Result<T>

Deserializes an object from JSON, from a reader.

+ Change settings

Function abstutil::from_json_reader[][src]

pub fn from_json_reader<R: Read, T: DeserializeOwned>(reader: R) -> Result<T>

Deserializes an object from JSON, from a reader.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.serialize_btreemap.html b/rustdoc/abstutil/fn.serialize_btreemap.html index f2e57973e9..49b3026b09 100644 --- a/rustdoc/abstutil/fn.serialize_btreemap.html +++ b/rustdoc/abstutil/fn.serialize_btreemap.html @@ -1,7 +1,7 @@ abstutil::serialize_btreemap - Rust

Function abstutil::serialize_btreemap[][src]

pub fn serialize_btreemap<S: Serializer, K: Serialize, V: Serialize>(
    map: &BTreeMap<K, V>,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a BTreeMap as a list of tuples. Necessary when the keys are structs; see + Change settings

Function abstutil::serialize_btreemap[][src]

pub fn serialize_btreemap<S: Serializer, K: Serialize, V: Serialize>(
    map: &BTreeMap<K, V>,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a BTreeMap as a list of tuples. Necessary when the keys are structs; see https://github.com/serde-rs/json/issues/402.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.serialize_hashmap.html b/rustdoc/abstutil/fn.serialize_hashmap.html index 5a3fa17f1d..aaf62a8a38 100644 --- a/rustdoc/abstutil/fn.serialize_hashmap.html +++ b/rustdoc/abstutil/fn.serialize_hashmap.html @@ -1,7 +1,7 @@ abstutil::serialize_hashmap - Rust

Function abstutil::serialize_hashmap[][src]

pub fn serialize_hashmap<S: Serializer, K: Serialize + Ord, V: Serialize>(
    map: &HashMap<K, V>,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a HashMap as a list of tuples, first sorting by the keys. This ensures the + Change settings

Function abstutil::serialize_hashmap[][src]

pub fn serialize_hashmap<S: Serializer, K: Serialize + Ord, V: Serialize>(
    map: &HashMap<K, V>,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a HashMap as a list of tuples, first sorting by the keys. This ensures the serialized form is deterministic.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.serialize_multimap.html b/rustdoc/abstutil/fn.serialize_multimap.html index 8b82bbf67f..61471909ef 100644 --- a/rustdoc/abstutil/fn.serialize_multimap.html +++ b/rustdoc/abstutil/fn.serialize_multimap.html @@ -1,6 +1,6 @@ abstutil::serialize_multimap - Rust

Function abstutil::serialize_multimap[][src]

pub fn serialize_multimap<S: Serializer, K: Serialize + Eq + Ord + Clone, V: Serialize + Eq + Ord + Clone>(
    map: &MultiMap<K, V>,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a MultiMap.

+ Change settings

Function abstutil::serialize_multimap[][src]

pub fn serialize_multimap<S: Serializer, K: Serialize + Eq + Ord + Clone, V: Serialize + Eq + Ord + Clone>(
    map: &MultiMap<K, V>,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a MultiMap.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.serialize_usize.html b/rustdoc/abstutil/fn.serialize_usize.html index 3164e232ba..91bc4ec61b 100644 --- a/rustdoc/abstutil/fn.serialize_usize.html +++ b/rustdoc/abstutil/fn.serialize_usize.html @@ -1,7 +1,7 @@ abstutil::serialize_usize - Rust

Function abstutil::serialize_usize[][src]

pub fn serialize_usize<S: Serializer>(
    x: &usize,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a usize as a u32 to save space. Useful when you need usize for indexing, but + Change settings

Function abstutil::serialize_usize[][src]

pub fn serialize_usize<S: Serializer>(
    x: &usize,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a usize as a u32 to save space. Useful when you need usize for indexing, but the values don’t exceed 2^32.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.serialized_size_bytes.html b/rustdoc/abstutil/fn.serialized_size_bytes.html index df83bc5265..e9f9d342da 100644 --- a/rustdoc/abstutil/fn.serialized_size_bytes.html +++ b/rustdoc/abstutil/fn.serialized_size_bytes.html @@ -1,6 +1,6 @@ abstutil::serialized_size_bytes - Rust

Function abstutil::serialized_size_bytes[][src]

pub fn serialized_size_bytes<T: Serialize>(obj: &T) -> usize

The number of bytes for an object serialized to bincode.

+ Change settings

Function abstutil::serialized_size_bytes[][src]

pub fn serialized_size_bytes<T: Serialize>(obj: &T) -> usize

The number of bytes for an object serialized to bincode.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.to_json.html b/rustdoc/abstutil/fn.to_json.html index 26941290f9..0a7597d94a 100644 --- a/rustdoc/abstutil/fn.to_json.html +++ b/rustdoc/abstutil/fn.to_json.html @@ -1,6 +1,6 @@ abstutil::to_json - Rust

Function abstutil::to_json[][src]

pub fn to_json<T: Serialize>(obj: &T) -> String

Stringifies an object to nicely formatted JSON.

+ Change settings

Function abstutil::to_json[][src]

pub fn to_json<T: Serialize>(obj: &T) -> String

Stringifies an object to nicely formatted JSON.

\ No newline at end of file diff --git a/rustdoc/abstutil/fn.to_json_terse.html b/rustdoc/abstutil/fn.to_json_terse.html index cfca3edf67..1805581aff 100644 --- a/rustdoc/abstutil/fn.to_json_terse.html +++ b/rustdoc/abstutil/fn.to_json_terse.html @@ -1,6 +1,6 @@ abstutil::to_json_terse - Rust

Function abstutil::to_json_terse[][src]

pub fn to_json_terse<T: Serialize>(obj: &T) -> String

Stringifies an object to terse JSON.

+ Change settings

Function abstutil::to_json_terse[][src]

pub fn to_json_terse<T: Serialize>(obj: &T) -> String

Stringifies an object to terse JSON.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.deserialize_btreemap.html b/rustdoc/abstutil/serde/fn.deserialize_btreemap.html index 32ec53b6e2..1748a6b3f8 100644 --- a/rustdoc/abstutil/serde/fn.deserialize_btreemap.html +++ b/rustdoc/abstutil/serde/fn.deserialize_btreemap.html @@ -1,7 +1,7 @@ abstutil::serde::deserialize_btreemap - Rust

Function abstutil::serde::deserialize_btreemap[][src]

pub fn deserialize_btreemap<'de, D: Deserializer<'de>, K: Deserialize<'de> + Ord, V: Deserialize<'de>>(
    d: D
) -> Result<BTreeMap<K, V>, D::Error>

Deserializes a BTreeMap from a list of tuples. Necessary when the keys are structs; see + Change settings

Function abstutil::serde::deserialize_btreemap[][src]

pub fn deserialize_btreemap<'de, D: Deserializer<'de>, K: Deserialize<'de> + Ord, V: Deserialize<'de>>(
    d: D
) -> Result<BTreeMap<K, V>, D::Error>

Deserializes a BTreeMap from a list of tuples. Necessary when the keys are structs; see https://github.com/serde-rs/json/issues/402.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.deserialize_hashmap.html b/rustdoc/abstutil/serde/fn.deserialize_hashmap.html index 52ecbb2b60..5a7c6413b2 100644 --- a/rustdoc/abstutil/serde/fn.deserialize_hashmap.html +++ b/rustdoc/abstutil/serde/fn.deserialize_hashmap.html @@ -1,6 +1,6 @@ abstutil::serde::deserialize_hashmap - Rust

Function abstutil::serde::deserialize_hashmap[][src]

pub fn deserialize_hashmap<'de, D: Deserializer<'de>, K: Deserialize<'de> + Hash + Eq, V: Deserialize<'de>>(
    d: D
) -> Result<HashMap<K, V>, D::Error>

Deserializes a HashMap from a list of tuples.

+ Change settings

Function abstutil::serde::deserialize_hashmap[][src]

pub fn deserialize_hashmap<'de, D: Deserializer<'de>, K: Deserialize<'de> + Hash + Eq, V: Deserialize<'de>>(
    d: D
) -> Result<HashMap<K, V>, D::Error>

Deserializes a HashMap from a list of tuples.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.deserialize_multimap.html b/rustdoc/abstutil/serde/fn.deserialize_multimap.html index b677b25f40..3efa9520f5 100644 --- a/rustdoc/abstutil/serde/fn.deserialize_multimap.html +++ b/rustdoc/abstutil/serde/fn.deserialize_multimap.html @@ -1,6 +1,6 @@ abstutil::serde::deserialize_multimap - Rust

Function abstutil::serde::deserialize_multimap[][src]

pub fn deserialize_multimap<'de, D: Deserializer<'de>, K: Deserialize<'de> + Eq + Ord + Clone, V: Deserialize<'de> + Eq + Ord + Clone>(
    d: D
) -> Result<MultiMap<K, V>, D::Error>

Deserializes a MultiMap.

+ Change settings

Function abstutil::serde::deserialize_multimap[][src]

pub fn deserialize_multimap<'de, D: Deserializer<'de>, K: Deserialize<'de> + Eq + Ord + Clone, V: Deserialize<'de> + Eq + Ord + Clone>(
    d: D
) -> Result<MultiMap<K, V>, D::Error>

Deserializes a MultiMap.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.deserialize_usize.html b/rustdoc/abstutil/serde/fn.deserialize_usize.html index 3ea2a137d5..ff248cd338 100644 --- a/rustdoc/abstutil/serde/fn.deserialize_usize.html +++ b/rustdoc/abstutil/serde/fn.deserialize_usize.html @@ -1,6 +1,6 @@ abstutil::serde::deserialize_usize - Rust

Function abstutil::serde::deserialize_usize[][src]

pub fn deserialize_usize<'de, D: Deserializer<'de>>(
    d: D
) -> Result<usize, D::Error>

Deserializes a usize from a u32.

+ Change settings

Function abstutil::serde::deserialize_usize[][src]

pub fn deserialize_usize<'de, D: Deserializer<'de>>(
    d: D
) -> Result<usize, D::Error>

Deserializes a usize from a u32.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.from_binary.html b/rustdoc/abstutil/serde/fn.from_binary.html index 907aaff71d..812cd9bc1f 100644 --- a/rustdoc/abstutil/serde/fn.from_binary.html +++ b/rustdoc/abstutil/serde/fn.from_binary.html @@ -1,6 +1,6 @@ abstutil::serde::from_binary - Rust

Function abstutil::serde::from_binary[][src]

pub fn from_binary<T: DeserializeOwned>(raw: &[u8]) -> Result<T>

Deserializes an object from the bincode format.

+ Change settings

Function abstutil::serde::from_binary[][src]

pub fn from_binary<T: DeserializeOwned>(raw: &[u8]) -> Result<T>

Deserializes an object from the bincode format.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.from_binary_reader.html b/rustdoc/abstutil/serde/fn.from_binary_reader.html index fa493a0584..373d56fb08 100644 --- a/rustdoc/abstutil/serde/fn.from_binary_reader.html +++ b/rustdoc/abstutil/serde/fn.from_binary_reader.html @@ -1,6 +1,6 @@ abstutil::serde::from_binary_reader - Rust

Function abstutil::serde::from_binary_reader[][src]

pub fn from_binary_reader<R: Read, T: DeserializeOwned>(reader: R) -> Result<T>

Deserializes an object from the bincode format, from a reader.

+ Change settings

Function abstutil::serde::from_binary_reader[][src]

pub fn from_binary_reader<R: Read, T: DeserializeOwned>(reader: R) -> Result<T>

Deserializes an object from the bincode format, from a reader.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.from_json.html b/rustdoc/abstutil/serde/fn.from_json.html index 4e1012b4c9..6475d38cef 100644 --- a/rustdoc/abstutil/serde/fn.from_json.html +++ b/rustdoc/abstutil/serde/fn.from_json.html @@ -1,6 +1,6 @@ abstutil::serde::from_json - Rust

Function abstutil::serde::from_json[][src]

pub fn from_json<T: DeserializeOwned>(raw: &[u8]) -> Result<T>

Deserializes an object from a JSON string.

+ Change settings

Function abstutil::serde::from_json[][src]

pub fn from_json<T: DeserializeOwned>(raw: &[u8]) -> Result<T>

Deserializes an object from a JSON string.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.from_json_reader.html b/rustdoc/abstutil/serde/fn.from_json_reader.html index f1343f7499..0bee1a50e6 100644 --- a/rustdoc/abstutil/serde/fn.from_json_reader.html +++ b/rustdoc/abstutil/serde/fn.from_json_reader.html @@ -1,6 +1,6 @@ abstutil::serde::from_json_reader - Rust

Function abstutil::serde::from_json_reader[][src]

pub fn from_json_reader<R: Read, T: DeserializeOwned>(reader: R) -> Result<T>

Deserializes an object from JSON, from a reader.

+ Change settings

Function abstutil::serde::from_json_reader[][src]

pub fn from_json_reader<R: Read, T: DeserializeOwned>(reader: R) -> Result<T>

Deserializes an object from JSON, from a reader.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.serialize_btreemap.html b/rustdoc/abstutil/serde/fn.serialize_btreemap.html index 98fc9ab6d5..aaf51b2f22 100644 --- a/rustdoc/abstutil/serde/fn.serialize_btreemap.html +++ b/rustdoc/abstutil/serde/fn.serialize_btreemap.html @@ -1,7 +1,7 @@ abstutil::serde::serialize_btreemap - Rust

Function abstutil::serde::serialize_btreemap[][src]

pub fn serialize_btreemap<S: Serializer, K: Serialize, V: Serialize>(
    map: &BTreeMap<K, V>,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a BTreeMap as a list of tuples. Necessary when the keys are structs; see + Change settings

Function abstutil::serde::serialize_btreemap[][src]

pub fn serialize_btreemap<S: Serializer, K: Serialize, V: Serialize>(
    map: &BTreeMap<K, V>,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a BTreeMap as a list of tuples. Necessary when the keys are structs; see https://github.com/serde-rs/json/issues/402.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.serialize_hashmap.html b/rustdoc/abstutil/serde/fn.serialize_hashmap.html index f74cfb0b8e..f3243be30c 100644 --- a/rustdoc/abstutil/serde/fn.serialize_hashmap.html +++ b/rustdoc/abstutil/serde/fn.serialize_hashmap.html @@ -1,7 +1,7 @@ abstutil::serde::serialize_hashmap - Rust

Function abstutil::serde::serialize_hashmap[][src]

pub fn serialize_hashmap<S: Serializer, K: Serialize + Ord, V: Serialize>(
    map: &HashMap<K, V>,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a HashMap as a list of tuples, first sorting by the keys. This ensures the + Change settings

Function abstutil::serde::serialize_hashmap[][src]

pub fn serialize_hashmap<S: Serializer, K: Serialize + Ord, V: Serialize>(
    map: &HashMap<K, V>,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a HashMap as a list of tuples, first sorting by the keys. This ensures the serialized form is deterministic.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.serialize_multimap.html b/rustdoc/abstutil/serde/fn.serialize_multimap.html index ccc0c0bd25..820afcc3b6 100644 --- a/rustdoc/abstutil/serde/fn.serialize_multimap.html +++ b/rustdoc/abstutil/serde/fn.serialize_multimap.html @@ -1,6 +1,6 @@ abstutil::serde::serialize_multimap - Rust

Function abstutil::serde::serialize_multimap[][src]

pub fn serialize_multimap<S: Serializer, K: Serialize + Eq + Ord + Clone, V: Serialize + Eq + Ord + Clone>(
    map: &MultiMap<K, V>,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a MultiMap.

+ Change settings

Function abstutil::serde::serialize_multimap[][src]

pub fn serialize_multimap<S: Serializer, K: Serialize + Eq + Ord + Clone, V: Serialize + Eq + Ord + Clone>(
    map: &MultiMap<K, V>,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a MultiMap.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.serialize_usize.html b/rustdoc/abstutil/serde/fn.serialize_usize.html index dc77310e17..7089258c0a 100644 --- a/rustdoc/abstutil/serde/fn.serialize_usize.html +++ b/rustdoc/abstutil/serde/fn.serialize_usize.html @@ -1,7 +1,7 @@ abstutil::serde::serialize_usize - Rust

Function abstutil::serde::serialize_usize[][src]

pub fn serialize_usize<S: Serializer>(
    x: &usize,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a usize as a u32 to save space. Useful when you need usize for indexing, but + Change settings

Function abstutil::serde::serialize_usize[][src]

pub fn serialize_usize<S: Serializer>(
    x: &usize,
    s: S
) -> Result<S::Ok, S::Error>

Serializes a usize as a u32 to save space. Useful when you need usize for indexing, but the values don’t exceed 2^32.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.serialized_size_bytes.html b/rustdoc/abstutil/serde/fn.serialized_size_bytes.html index 295fd527d8..78d59165e4 100644 --- a/rustdoc/abstutil/serde/fn.serialized_size_bytes.html +++ b/rustdoc/abstutil/serde/fn.serialized_size_bytes.html @@ -1,6 +1,6 @@ abstutil::serde::serialized_size_bytes - Rust

Function abstutil::serde::serialized_size_bytes[][src]

pub fn serialized_size_bytes<T: Serialize>(obj: &T) -> usize

The number of bytes for an object serialized to bincode.

+ Change settings

Function abstutil::serde::serialized_size_bytes[][src]

pub fn serialized_size_bytes<T: Serialize>(obj: &T) -> usize

The number of bytes for an object serialized to bincode.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.to_json.html b/rustdoc/abstutil/serde/fn.to_json.html index b4e98a8f26..a16e53025a 100644 --- a/rustdoc/abstutil/serde/fn.to_json.html +++ b/rustdoc/abstutil/serde/fn.to_json.html @@ -1,6 +1,6 @@ abstutil::serde::to_json - Rust

Function abstutil::serde::to_json[][src]

pub fn to_json<T: Serialize>(obj: &T) -> String

Stringifies an object to nicely formatted JSON.

+ Change settings

Function abstutil::serde::to_json[][src]

pub fn to_json<T: Serialize>(obj: &T) -> String

Stringifies an object to nicely formatted JSON.

\ No newline at end of file diff --git a/rustdoc/abstutil/serde/fn.to_json_terse.html b/rustdoc/abstutil/serde/fn.to_json_terse.html index 8587353edd..e642c7a761 100644 --- a/rustdoc/abstutil/serde/fn.to_json_terse.html +++ b/rustdoc/abstutil/serde/fn.to_json_terse.html @@ -1,6 +1,6 @@ abstutil::serde::to_json_terse - Rust

Function abstutil::serde::to_json_terse[][src]

pub fn to_json_terse<T: Serialize>(obj: &T) -> String

Stringifies an object to terse JSON.

+ Change settings

Function abstutil::serde::to_json_terse[][src]

pub fn to_json_terse<T: Serialize>(obj: &T) -> String

Stringifies an object to terse JSON.

\ No newline at end of file diff --git a/rustdoc/abstutil/struct.FixedMap.html b/rustdoc/abstutil/struct.FixedMap.html index 83e288b08a..bc806969bf 100644 --- a/rustdoc/abstutil/struct.FixedMap.html +++ b/rustdoc/abstutil/struct.FixedMap.html @@ -11,14 +11,14 @@ it just becomes a simple array lookup.

Fieldsinner: Vec<Option<V>>key_type: PhantomData<K>

Implementations

impl<K: IndexableKey, V> FixedMap<K, V>[src]

pub fn new() -> FixedMap<K, V>[src]

pub fn insert(&mut self, key: K, value: V)[src]

pub fn get(&self, key: &K) -> Option<&V>[src]

pub fn get_mut(&mut self, key: &K) -> Option<&mut V>[src]

pub fn contains_key(&self, key: &K) -> bool[src]

pub fn remove(&mut self, key: &K) -> Option<V>[src]

pub fn values(&self) -> Flatten<Iter<'_, Option<V>>>[src]

Trait Implementations

impl<K: Clone + IndexableKey, V: Clone> Clone for FixedMap<K, V>[src]

impl<K: IndexableKey, V> Default for FixedMap<K, V>[src]

impl<'de, K: IndexableKey, V> Deserialize<'de> for FixedMap<K, V> where
    V: Deserialize<'de>, 
[src]

impl<'de, K: IndexableKey, V> Deserialize<'de> for FixedMap<K, V> where
    V: Deserialize<'de>, 
[src]

impl<K: IndexableKey, V> Index<&'_ K> for FixedMap<K, V>[src]

type Output = V

The returned type after indexing.

impl<K: IndexableKey, V> Serialize for FixedMap<K, V> where
    V: Serialize
[src]

impl<K: IndexableKey, V> Serialize for FixedMap<K, V> where
    V: Serialize
[src]

Auto Trait Implementations

impl<K, V> RefUnwindSafe for FixedMap<K, V> where
    K: RefUnwindSafe,
    V: RefUnwindSafe

impl<K, V> Send for FixedMap<K, V> where
    K: Send,
    V: Send

impl<K, V> Sync for FixedMap<K, V> where
    K: Sync,
    V: Sync

impl<K, V> Unpin for FixedMap<K, V> where
    K: Unpin,
    V: Unpin

impl<K, V> UnwindSafe for FixedMap<K, V> where
    K: UnwindSafe,
    V: UnwindSafe

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> 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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.