pub enum IndexVersion {
V1,
V2,
}Expand description
The format version recorded in a $I file’s 8-byte version field.
Variants§
V1
Pre-Windows 10: fixed 520-byte UTF-16LE filename at offset 24.
V2
Windows 10 and later: length-prefixed variable-length filename.
Trait Implementations§
Source§impl Clone for IndexVersion
impl Clone for IndexVersion
Source§fn clone(&self) -> IndexVersion
fn clone(&self) -> IndexVersion
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 IndexVersion
Source§impl Debug for IndexVersion
impl Debug for IndexVersion
impl Eq for IndexVersion
Source§impl PartialEq for IndexVersion
impl PartialEq for IndexVersion
Source§fn eq(&self, other: &IndexVersion) -> bool
fn eq(&self, other: &IndexVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IndexVersion
Auto Trait Implementations§
impl Freeze for IndexVersion
impl RefUnwindSafe for IndexVersion
impl Send for IndexVersion
impl Sync for IndexVersion
impl Unpin for IndexVersion
impl UnsafeUnpin for IndexVersion
impl UnwindSafe for IndexVersion
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