pub struct ZipVersion {
pub major_version: u8,
pub minor_version: u8,
}
Fields§
§major_version: u8
§minor_version: u8
Implementations§
Trait Implementations§
Source§impl Clone for ZipVersion
impl Clone for ZipVersion
Source§fn clone(&self) -> ZipVersion
fn clone(&self) -> ZipVersion
Returns a copy 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 ZipVersion
impl Debug for ZipVersion
Source§impl From<MinimumFeatureVersion> for ZipVersion
impl From<MinimumFeatureVersion> for ZipVersion
Source§fn from(value: MinimumFeatureVersion) -> Self
fn from(value: MinimumFeatureVersion) -> Self
Converts to this type from the input type.
Source§impl From<u16> for ZipVersion
stored in u18 in 4.4.3.2
impl From<u16> for ZipVersion
stored in u18 in 4.4.3.2
Source§impl From<u8> for ZipVersion
stored in u8 in 4.4.2.2
impl From<u8> for ZipVersion
stored in u8 in 4.4.2.2
Source§impl Ord for ZipVersion
impl Ord for ZipVersion
Source§fn cmp(&self, other: &ZipVersion) -> Ordering
fn cmp(&self, other: &ZipVersion) -> 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 ZipVersion
impl PartialEq for ZipVersion
Source§impl PartialOrd for ZipVersion
impl PartialOrd for ZipVersion
impl Copy for ZipVersion
impl Eq for ZipVersion
impl StructuralPartialEq for ZipVersion
Auto Trait Implementations§
impl Freeze for ZipVersion
impl RefUnwindSafe for ZipVersion
impl Send for ZipVersion
impl Sync for ZipVersion
impl Unpin for ZipVersion
impl UnwindSafe for ZipVersion
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