Enum asar::header::FileLocation
source · pub enum FileLocation {
Offset {
offset: usize,
},
Unpacked {
unpacked: bool,
},
}
Variants§
Offset
This file is located in the asar archive, at an offset from the end of the asar header.
Unpacked
This file is already unpacked from the asar archive.
Implementations§
Trait Implementations§
source§impl Clone for FileLocation
impl Clone for FileLocation
source§fn clone(&self) -> FileLocation
fn clone(&self) -> FileLocation
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 FileLocation
impl Debug for FileLocation
source§impl<'de> Deserialize<'de> for FileLocation
impl<'de> Deserialize<'de> for FileLocation
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for FileLocation
impl Hash for FileLocation
source§impl PartialEq for FileLocation
impl PartialEq for FileLocation
source§fn eq(&self, other: &FileLocation) -> bool
fn eq(&self, other: &FileLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FileLocation
impl Serialize for FileLocation
impl Copy for FileLocation
impl Eq for FileLocation
impl StructuralEq for FileLocation
impl StructuralPartialEq for FileLocation
Auto Trait Implementations§
impl RefUnwindSafe for FileLocation
impl Send for FileLocation
impl Sync for FileLocation
impl Unpin for FileLocation
impl UnwindSafe for FileLocation
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