pub struct ZipFileFlags(/* private fields */);Expand description
Zip flags
Implementations§
Source§impl ZipFileFlags
impl ZipFileFlags
Sourcepub fn matching(&self, matching_flag: ZipFlags) -> bool
pub fn matching(&self, matching_flag: ZipFlags) -> bool
Check if flags are matching a specific ZipFlags
Sourcepub fn is_encrypted(&self) -> bool
pub fn is_encrypted(&self) -> bool
Check if the encrypted flag is set
Sourcepub fn is_using_data_descriptor(&self) -> bool
pub fn is_using_data_descriptor(&self) -> bool
Check if the data descriptor flag is set
Trait Implementations§
Source§impl BitOrAssign<u16> for ZipFileFlags
impl BitOrAssign<u16> for ZipFileFlags
Source§fn bitor_assign(&mut self, rhs: u16)
fn bitor_assign(&mut self, rhs: u16)
Performs the
|= operation. Read moreSource§impl Clone for ZipFileFlags
impl Clone for ZipFileFlags
Source§fn clone(&self) -> ZipFileFlags
fn clone(&self) -> ZipFileFlags
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ZipFileFlags
Source§impl Debug for ZipFileFlags
impl Debug for ZipFileFlags
Source§impl Default for ZipFileFlags
impl Default for ZipFileFlags
Source§fn default() -> ZipFileFlags
fn default() -> ZipFileFlags
Returns the “default value” for a type. Read more
impl Eq for ZipFileFlags
Source§impl From<u16> for ZipFileFlags
impl From<u16> for ZipFileFlags
Source§impl PartialEq for ZipFileFlags
impl PartialEq for ZipFileFlags
impl StructuralPartialEq for ZipFileFlags
Auto Trait Implementations§
impl Freeze for ZipFileFlags
impl RefUnwindSafe for ZipFileFlags
impl Send for ZipFileFlags
impl Sync for ZipFileFlags
impl Unpin for ZipFileFlags
impl UnsafeUnpin for ZipFileFlags
impl UnwindSafe for ZipFileFlags
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.