pub struct EndOfCentralDirectoryFixed {
pub end_of_central_dir_signature: u32,
pub number_of_this_disk: u16,
pub number_of_the_disk_with_the_start_of_the_central_directory: u16,
pub total_number_of_entries_in_the_central_directory_on_this_disk: u16,
pub total_number_of_entries_in_the_central_directory: u16,
pub size_of_the_central_directory: u32,
pub offset_of_start_of_central_directory_with_respect_to_the_starting_disk_number: u32,
pub zip_file_comment_length: u16,
}
Expand description
part of EndOfCentralDirectory
which has a fixed size
Fields§
§end_of_central_dir_signature: u32
§number_of_this_disk: u16
§number_of_the_disk_with_the_start_of_the_central_directory: u16
§total_number_of_entries_in_the_central_directory_on_this_disk: u16
§total_number_of_entries_in_the_central_directory: u16
§size_of_the_central_directory: u32
§offset_of_start_of_central_directory_with_respect_to_the_starting_disk_number: u32
§zip_file_comment_length: u16
Implementations§
Source§impl EndOfCentralDirectoryFixed
impl EndOfCentralDirectoryFixed
pub const END_OF_CENTRAL_DIR_SIGNATURE: u32 = 101_010_256u32
pub const SIZE_IN_BYTES: usize = 22usize
Trait Implementations§
Source§impl Clone for EndOfCentralDirectoryFixed
impl Clone for EndOfCentralDirectoryFixed
Source§fn clone(&self) -> EndOfCentralDirectoryFixed
fn clone(&self) -> EndOfCentralDirectoryFixed
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 EndOfCentralDirectoryFixed
impl Debug for EndOfCentralDirectoryFixed
Source§impl Parse for EndOfCentralDirectoryFixed
impl Parse for EndOfCentralDirectoryFixed
Source§impl Signature for EndOfCentralDirectoryFixed
impl Signature for EndOfCentralDirectoryFixed
fn is_valid_signature(&self) -> bool
impl StructuralPartialEq for EndOfCentralDirectoryFixed
Auto Trait Implementations§
impl Freeze for EndOfCentralDirectoryFixed
impl RefUnwindSafe for EndOfCentralDirectoryFixed
impl Send for EndOfCentralDirectoryFixed
impl Sync for EndOfCentralDirectoryFixed
impl Unpin for EndOfCentralDirectoryFixed
impl UnwindSafe for EndOfCentralDirectoryFixed
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