pub struct ZipPosition {
pub disk: usize,
pub offset: usize,
}Expand description
Represents a position in a (possbly multipart) ZIP archive
Fields§
§disk: usize§offset: usizeImplementations§
Source§impl ZipPosition
impl ZipPosition
Trait Implementations§
Source§impl Clone for ZipPosition
impl Clone for ZipPosition
Source§fn clone(&self) -> ZipPosition
fn clone(&self) -> ZipPosition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ZipPosition
impl Debug for ZipPosition
Source§impl Default for ZipPosition
impl Default for ZipPosition
Source§fn default() -> ZipPosition
fn default() -> ZipPosition
Returns the “default value” for a type. Read more
Source§impl Display for ZipPosition
impl Display for ZipPosition
Source§impl Ord for ZipPosition
impl Ord for ZipPosition
Source§fn cmp(&self, other: &ZipPosition) -> Ordering
fn cmp(&self, other: &ZipPosition) -> Ordering
1.21.0 · 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
Source§impl PartialEq for ZipPosition
impl PartialEq for ZipPosition
Source§impl PartialOrd for ZipPosition
impl PartialOrd for ZipPosition
impl Copy for ZipPosition
impl Eq for ZipPosition
impl StructuralPartialEq for ZipPosition
Auto Trait Implementations§
impl Freeze for ZipPosition
impl RefUnwindSafe for ZipPosition
impl Send for ZipPosition
impl Sync for ZipPosition
impl Unpin for ZipPosition
impl UnwindSafe for ZipPosition
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