pub struct ZipEntryIndex(/* private fields */);Expand description
Index of an entry in the zip crate’s entry map, which equals its
position in the manifest listing.
§Examples
use exarch_core::ZipEntryIndex;
assert_eq!(ZipEntryIndex::new(3).get(), 3);Implementations§
Trait Implementations§
Source§impl Clone for ZipEntryIndex
impl Clone for ZipEntryIndex
impl Copy for ZipEntryIndex
Source§impl Debug for ZipEntryIndex
impl Debug for ZipEntryIndex
Source§impl Display for ZipEntryIndex
impl Display for ZipEntryIndex
impl Eq for ZipEntryIndex
Source§impl Hash for ZipEntryIndex
impl Hash for ZipEntryIndex
Source§impl Ord for ZipEntryIndex
impl Ord for ZipEntryIndex
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ZipEntryIndex
impl PartialEq for ZipEntryIndex
Source§impl PartialOrd for ZipEntryIndex
impl PartialOrd for ZipEntryIndex
impl StructuralPartialEq for ZipEntryIndex
Auto Trait Implementations§
impl Freeze for ZipEntryIndex
impl RefUnwindSafe for ZipEntryIndex
impl Send for ZipEntryIndex
impl Sync for ZipEntryIndex
impl Unpin for ZipEntryIndex
impl UnsafeUnpin for ZipEntryIndex
impl UnwindSafe for ZipEntryIndex
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.