pub(crate) struct CachedTables<'a> {
gsub: Option<Gsub<'a>>,
gpos: Option<Gpos<'a>>,
gdef: CachedGdef<'a>,
has_gdef: bool,
gsub_len: u32,
gdef_len: u32,
}Expand description
The layout tables, parsed once and kept with the font tables.
Fields§
§gsub: Option<Gsub<'a>>§gpos: Option<Gpos<'a>>§gdef: CachedGdef<'a>§has_gdef: boolWhether GDEF is used: present, and not one of the known broken ones.
gsub_len: u32§gdef_len: u32Implementations§
Trait Implementations§
Source§impl<'yoke> Yokeable<'yoke> for CachedTables<'static>
impl<'yoke> Yokeable<'yoke> for CachedTables<'static>
Source§type Output = CachedTables<'yoke>
type Output = CachedTables<'yoke>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for CachedTables<'a>
impl<'a> RefUnwindSafe for CachedTables<'a>
impl<'a> Send for CachedTables<'a>
impl<'a> Sync for CachedTables<'a>
impl<'a> Unpin for CachedTables<'a>
impl<'a> UnsafeUnpin for CachedTables<'a>
impl<'a> UnwindSafe for CachedTables<'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