Enum hive_asar::header::FilePosition
source · [−]pub enum FilePosition {
Offset(u64),
Unpacked,
}Expand description
Whether the file is stored in the archive or is unpacked.
Variants
Offset(u64)
Offset of the file in the archive, indicates the file is stored in it.
Unpacked
Indicates the file is stored outside the archive.
Trait Implementations
sourceimpl Clone for FilePosition
impl Clone for FilePosition
sourcefn clone(&self) -> FilePosition
fn clone(&self) -> FilePosition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FilePosition
impl Debug for FilePosition
sourceimpl<'de> Deserialize<'de> for FilePosition
impl<'de> Deserialize<'de> for FilePosition
sourcefn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for FilePosition
impl Serialize for FilePosition
impl Copy for FilePosition
Auto Trait Implementations
impl RefUnwindSafe for FilePosition
impl Send for FilePosition
impl Sync for FilePosition
impl Unpin for FilePosition
impl UnwindSafe for FilePosition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more