Struct read_fonts::traversal::ResolvedOffset
source · 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§
impl<'a> Freeze for ResolvedOffset<'a>
impl<'a> !RefUnwindSafe for ResolvedOffset<'a>
impl<'a> !Send for ResolvedOffset<'a>
impl<'a> !Sync for ResolvedOffset<'a>
impl<'a> Unpin for ResolvedOffset<'a>
impl<'a> !UnwindSafe for ResolvedOffset<'a>
Blanket Implementations§
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