pub struct EncryptionMode(pub u8);Expand description
Raw MDict encryption bit flags from the header metadata.
Tuple Fields§
§0: u8Implementations§
Source§impl EncryptionMode
impl EncryptionMode
pub fn has_keyword_header(self) -> bool
pub fn has_keyword_index(self) -> bool
Trait Implementations§
Source§impl Clone for EncryptionMode
impl Clone for EncryptionMode
Source§fn clone(&self) -> EncryptionMode
fn clone(&self) -> EncryptionMode
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 EncryptionMode
Source§impl Debug for EncryptionMode
impl Debug for EncryptionMode
impl Eq for EncryptionMode
Source§impl PartialEq for EncryptionMode
impl PartialEq for EncryptionMode
Source§fn eq(&self, other: &EncryptionMode) -> bool
fn eq(&self, other: &EncryptionMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EncryptionMode
Auto Trait Implementations§
impl Freeze for EncryptionMode
impl RefUnwindSafe for EncryptionMode
impl Send for EncryptionMode
impl Sync for EncryptionMode
impl Unpin for EncryptionMode
impl UnsafeUnpin for EncryptionMode
impl UnwindSafe for EncryptionMode
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