pub struct Part {
pub name: String,
pub entry: usize,
pub pieces: Vec<usize>,
}Expand description
A ZIP item that maps to a part.
Fields§
§name: StringThe part name: / followed by the item name (7.3.5).
entry: usizeIndex of the backing entry in the archive; the first piece of an interleaved part.
pieces: Vec<usize>Every piece of an interleaved part (7.2.4) in piece order; empty otherwise.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Part
impl RefUnwindSafe for Part
impl Send for Part
impl Sync for Part
impl Unpin for Part
impl UnsafeUnpin for Part
impl UnwindSafe for Part
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