Struct Package
Source pub struct Package<'a> {
pub id: u32,
pub image: &'a [u32],
pub fixups: &'a [u32],
pub code_end: u32,
}
Expand description
A checked module borrowing the complete transport buffer.
Consumer-defined identity.
Code and immutable data words.
Encoded kind/byte-offset fixups.
Exclusive executable prefix boundary.
Parse one checked package and return the next package’s words.
Empty inlined-away modules and data-only modules are supported.
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
[From]<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.