Struct cobble_core::minecraft::models::AssetIndex
source · Expand description
Map of all the assets for a Minecraft version.
Fields§
§map_to_resources: bool
Wether to install the assets as resources or not.
Used primarily on older versions (pre1.6).
objects: HashMap<String, AssetInfo>
Asset objects.
Key is the name of the file.
Trait Implementations§
source§impl Clone for AssetIndex
impl Clone for AssetIndex
source§fn clone(&self) -> AssetIndex
fn clone(&self) -> AssetIndex
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 AssetIndex
impl Debug for AssetIndex
source§impl<'de> Deserialize<'de> for AssetIndex
impl<'de> Deserialize<'de> for AssetIndex
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