Struct zip_core::raw::EndOfCentralDirectory
source · pub struct EndOfCentralDirectory {
pub fixed: EndOfCentralDirectoryFixed,
pub zip_file_comment: Vec<u8>,
}
Expand description
End of central directory record
see 4.3.16
Fields§
§fixed: EndOfCentralDirectoryFixed
§zip_file_comment: Vec<u8>
Trait Implementations§
source§impl Clone for EndOfCentralDirectory
impl Clone for EndOfCentralDirectory
source§fn clone(&self) -> EndOfCentralDirectory
fn clone(&self) -> EndOfCentralDirectory
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 EndOfCentralDirectory
impl Debug for EndOfCentralDirectory
source§impl Parse for EndOfCentralDirectory
impl Parse for EndOfCentralDirectory
source§impl ParseExtend for EndOfCentralDirectory
impl ParseExtend for EndOfCentralDirectory
type Error = DynamicSizeError
type Fixed = EndOfCentralDirectoryFixed
source§impl PartialEq for EndOfCentralDirectory
impl PartialEq for EndOfCentralDirectory
source§fn eq(&self, other: &EndOfCentralDirectory) -> bool
fn eq(&self, other: &EndOfCentralDirectory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialRecord for EndOfCentralDirectory
impl PartialRecord for EndOfCentralDirectory
type Partial = EndOfCentralDirectoryFixed
fn get_partial(&self) -> &Self::Partial
source§fn is_valid_sizes(&self) -> bool
fn is_valid_sizes(&self) -> bool
all dynamic records contain dynamic data and length information in the
fixed part. Verify if those 2 values are matching
impl StructuralPartialEq for EndOfCentralDirectory
Auto Trait Implementations§
impl Freeze for EndOfCentralDirectory
impl RefUnwindSafe for EndOfCentralDirectory
impl Send for EndOfCentralDirectory
impl Sync for EndOfCentralDirectory
impl Unpin for EndOfCentralDirectory
impl UnwindSafe for EndOfCentralDirectory
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)