#[non_exhaustive]pub struct PackMade {Show 13 fields
pub file: String,
pub target: Option<String>,
pub files: u32,
pub baked: u32,
pub kinds: Vec<String>,
pub source_bytes: u64,
pub pack_bytes: u64,
pub bake_us: u64,
pub load_sources_us: u64,
pub load_pack_us: u64,
pub dithered: Vec<String>,
pub replaced: Vec<String>,
pub sheet: Option<String>,
}Expand description
A pack bake wrote.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.file: StringIts file, from the project’s root.
target: Option<String>The target it was baked for.
files: u32The files in it.
baked: u32How many of them hold baked assets; the others hold their own bytes.
kinds: Vec<String>The kinds baked, by name.
source_bytes: u64The sources’ bytes, added up.
pack_bytes: u64The pack’s bytes.
bake_us: u64How long baking took, in microseconds.
load_sources_us: u64How long reading every baked asset from its source took, in microseconds: the fastest of a few runs.
load_pack_us: u64How long opening the pack and reading every baked asset from it took, in microseconds: the fastest of a few runs.
dithered: Vec<String>The pictures made one-bit by dithering a PNG of the game’s own layers, as messages show them: what an artist checks.
replaced: Vec<String>The pictures read from the target’s own layer
(assets@<target>/) in place of the game’s.
sheet: Option<String>The contact sheet written, from the project’s root, if one was asked for.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PackMade
impl<'de> Deserialize<'de> for PackMade
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>,
Source§impl JsonSchema for PackMade
impl JsonSchema for PackMade
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more