pub struct ResolvedOffset<'a> {
    pub offset: OffsetType,
    pub target: Result<Box<dyn SomeTable<'a> + 'a>, ReadError>,
}
Expand description

An offset, as well as the table it references.

Fields

offset: OffsetType

The raw offset

target: Result<Box<dyn SomeTable<'a> + 'a>, ReadError>

The parsed table pointed to by this offset, or an error if parsing fails.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
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.