Struct synthzip::EndOfCentralDirectory
source · pub struct EndOfCentralDirectory {
pub signature: [u8; 4],
pub number_of_this_disk: u16,
pub disk_where_central_directory_starts: u16,
pub number_of_central_directory_records_on_this_disk: u16,
pub total_number_of_central_directory_records: u16,
pub size_of_central_directory: u32,
pub offset_of_start_of_central_directory_relative_to_start_of_archive: u32,
pub comment_length: u16,
pub comment: Vec<u8>,
}
Fields§
§signature: [u8; 4]
§number_of_this_disk: u16
§disk_where_central_directory_starts: u16
§number_of_central_directory_records_on_this_disk: u16
§total_number_of_central_directory_records: u16
§size_of_central_directory: u32
§offset_of_start_of_central_directory_relative_to_start_of_archive: u32
§comment_length: u16
§comment: Vec<u8>
Implementations§
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 Default for EndOfCentralDirectory
impl Default for EndOfCentralDirectory
source§impl Hash for EndOfCentralDirectory
impl Hash for EndOfCentralDirectory
source§impl Ord for EndOfCentralDirectory
impl Ord for EndOfCentralDirectory
source§fn cmp(&self, other: &EndOfCentralDirectory) -> Ordering
fn cmp(&self, other: &EndOfCentralDirectory) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
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 PartialOrd for EndOfCentralDirectory
impl PartialOrd for EndOfCentralDirectory
source§fn partial_cmp(&self, other: &EndOfCentralDirectory) -> Option<Ordering>
fn partial_cmp(&self, other: &EndOfCentralDirectory) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for EndOfCentralDirectory
impl StructuralEq for EndOfCentralDirectory
impl StructuralPartialEq for EndOfCentralDirectory
Auto Trait Implementations§
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