Struct read_fonts::traversal::StringOffset
source · pub struct StringOffset<'a> {
pub offset: OffsetType,
pub target: Result<Box<dyn SomeString<'a> + 'a>, ReadError>,
}
Expand description
An offset to string data.
This is a special case for the name table (and maybe elsewhere?)
Fields§
§offset: OffsetType
§target: Result<Box<dyn SomeString<'a> + 'a>, ReadError>
Auto Trait Implementations§
impl<'a> Freeze for StringOffset<'a>
impl<'a> !RefUnwindSafe for StringOffset<'a>
impl<'a> !Send for StringOffset<'a>
impl<'a> !Sync for StringOffset<'a>
impl<'a> Unpin for StringOffset<'a>
impl<'a> !UnwindSafe for StringOffset<'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