pub struct ApkLayout {
pub entries_end: u64,
pub signing_block: Option<Range<u64>>,
pub central_directory: Range<u64>,
pub eocd_offset: u64,
/* private fields */
}Expand description
The byte ranges of an APK’s sections.
[ ZIP entries | APK signing block? | central directory | EOCD ]
0..entries_end central_directory eocd_offset..Fields§
§entries_end: u64Where ZIP entry data ends: the signing block’s start, or the central directory’s when unsigned.
signing_block: Option<Range<u64>>The APK signing block, including its size fields and magic.
central_directory: Range<u64>§eocd_offset: u64Implementations§
Source§impl ApkLayout
impl ApkLayout
Trait Implementations§
impl Eq for ApkLayout
impl StructuralPartialEq for ApkLayout
Auto Trait Implementations§
impl Freeze for ApkLayout
impl RefUnwindSafe for ApkLayout
impl Send for ApkLayout
impl Sync for ApkLayout
impl Unpin for ApkLayout
impl UnsafeUnpin for ApkLayout
impl UnwindSafe for ApkLayout
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.