#[repr(transparent)]pub struct ZipFlags(pub u16);Expand description
General purpose bit flags related to encoding
Tuple Fields§
§0: u16Implementations§
Source§impl ZipFlags
impl ZipFlags
pub const ENCRYPTED_FILE: u16
pub const COMPRESSION_OPTION1: u16
pub const COMPRESSION_OPTION2: u16
pub const DATA_DESCRIPTOR: u16
pub const ENHANCED_DEFLATION: u16
pub const COMPRESSED_PATCHED_DATA: u16
pub const STRONG_ENCRYPTION: u16
pub const LANGUAGE_ENCODING: u16
pub const RESERVED: u16
pub const MASK_HEADER_VALUES: u16
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 UnsafeUnpin 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