pub struct PackOutput {
pub index_bin: PathBuf,
pub data_pack: PathBuf,
pub manifest_bin: Option<PathBuf>,
pub asset_count: usize,
/* private fields */
}Expand description
Output of a successful PackBuilder::build.
Fields§
§index_bin: PathBufAbsolute path to the produced index.bin.
data_pack: PathBufAbsolute path to the produced data.pack.
manifest_bin: Option<PathBuf>Absolute path to the produced manifest.bin (BLAKE3 integrity
records). None when manifest emission was disabled.
asset_count: usizeNumber of assets indexed (mirrors index.bin’s entry count).
Implementations§
Source§impl PackOutput
impl PackOutput
Sourcepub fn pack_bytes(&self) -> u64
pub fn pack_bytes(&self) -> u64
Total size of data.pack in bytes.
Trait Implementations§
Source§impl Clone for PackOutput
impl Clone for PackOutput
Source§fn clone(&self) -> PackOutput
fn clone(&self) -> PackOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PackOutput
impl RefUnwindSafe for PackOutput
impl Send for PackOutput
impl Sync for PackOutput
impl Unpin for PackOutput
impl UnsafeUnpin for PackOutput
impl UnwindSafe for PackOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more