Struct ZipFileFlags

#[repr(transparent)]
pub struct ZipFileFlags(/* private field */);

Zip flags

Implementations

impl ZipFileFlags

fn matching(&self, matching_flag: ZipFlags) -> bool

Check if flags are matching a specific ZipFlags

fn is_encrypted(&self) -> bool

Check if the encrypted flag is set

fn is_using_data_descriptor(&self) -> bool

Check if the data descriptor flag is set

const fn as_u16(self) -> u16

Get the inner value

Trait Implementations

impl BitOrAssign<u16> for ZipFileFlags

fn bitor_assign(&mut self, rhs: u16)

impl Clone for ZipFileFlags

fn clone(&self) -> Self

impl Copy for ZipFileFlags

impl Debug for ZipFileFlags

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for ZipFileFlags

fn default() -> Self

impl Eq for ZipFileFlags

impl From<u16> for ZipFileFlags

fn from(value: u16) -> Self

impl PartialEq for ZipFileFlags

fn eq(&self, other: &Self) -> bool

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

impl<Q, K> Equivalent<K> for ZipFileFlags where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

impl<Q, K> Equivalent<K> for ZipFileFlags where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

impl<T> Any for ZipFileFlags where T: 'static + ?Sized,

impl<T> Borrow<T> for ZipFileFlags where T: ?Sized,

impl<T> BorrowMut<T> for ZipFileFlags where T: ?Sized,

impl<T> CloneToUninit for ZipFileFlags where T: Clone,

impl<T> From<T> for ZipFileFlags

impl<T> Same for ZipFileFlags

impl<T> ToOwned for ZipFileFlags where T: Clone,

impl<T, U> Into<U> for ZipFileFlags where U: From<T>,

impl<T, U> TryFrom<U> for ZipFileFlags where U: Into<T>,

impl<T, U> TryInto<U> for ZipFileFlags where U: TryFrom<T>,