[−][src]Struct v8unpack4rs::container::ElemAddr
Is the structure and arrangement of data partitions in the container.
Fields
elem_header_addr: u32
The offset into the file where is the header block.
elem_data_addr: u32
The offset into the file where located data block.
fffffff: u32
Always equal V8_MAGIC_NUMBER
.
Methods
impl ElemAddr
[src]
pub const SIZE: u32
[src]
The size of the data in the file, represented as C structures.
pub fn new(elem_data_addr: u32, elem_header_addr: u32) -> Self
[src]
Creates a new instance of ElemAddr
.
pub fn from_raw_parts<R>(rdr: &mut R) -> Result<Self> where
R: Read + Seek,
[src]
R: Read + Seek,
Creates an instance of ElemAddr
from a stream of bytes.
pub fn into_bytes(self) -> Result<Vec<u8>>
[src]
Converts ElemAddr
an array of bytes
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,