pub struct ZipBytes(pub Vec<u8>);
Expand description
A raw u8 slice, with no specific structure.
This is used while parsing a zip archive, when we want to retain an owned slice to be parsed later.
Tuple Fields§
§0: Vec<u8>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ZipBytes
impl Send for ZipBytes
impl Sync for ZipBytes
impl Unpin for ZipBytes
impl UnwindSafe for ZipBytes
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