#[repr(transparent)]pub struct ZipFlags(pub u16);
Expand description
General purpose bit flags related to encoding
Tuple Fields§
§0: u16
Implementations§
Source§impl ZipFlags
impl ZipFlags
pub const ENCRYPTED_FILE: u16 = 1u16
pub const COMPRESSION_OPTION1: u16 = 2u16
pub const COMPRESSION_OPTION2: u16 = 4u16
pub const DATA_DESCRIPTOR: u16 = 8u16
pub const ENHANCED_DEFLATION: u16 = 16u16
pub const COMPRESSED_PATCHED_DATA: u16 = 32u16
pub const STRONG_ENCRYPTION: u16 = 64u16
pub const LANGUAGE_ENCODING: u16 = 2_048u16
pub const RESERVED: u16 = 4_096u16
pub const MASK_HEADER_VALUES: u16 = 8_192u16
pub fn has_data_descriptor(&self) -> bool
Trait Implementations§
impl Copy for ZipFlags
impl Eq for ZipFlags
impl StructuralPartialEq for ZipFlags
Auto Trait Implementations§
impl Freeze for ZipFlags
impl RefUnwindSafe for ZipFlags
impl Send for ZipFlags
impl Sync for ZipFlags
impl Unpin for ZipFlags
impl UnwindSafe for ZipFlags
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