Struct write_fonts::tables::gdef::Gdef
source · pub struct Gdef {
pub glyph_class_def: NullableOffsetMarker<ClassDef>,
pub attach_list: NullableOffsetMarker<AttachList>,
pub lig_caret_list: NullableOffsetMarker<LigCaretList>,
pub mark_attach_class_def: NullableOffsetMarker<ClassDef>,
pub mark_glyph_sets_def: NullableOffsetMarker<MarkGlyphSets>,
pub item_var_store: NullableOffsetMarker<ItemVariationStore, WIDTH_32>,
}Expand description
GDEF 1.0
Fields§
§glyph_class_def: NullableOffsetMarker<ClassDef>Offset to class definition table for glyph type, from beginning of GDEF header (may be NULL)
attach_list: NullableOffsetMarker<AttachList>Offset to attachment point list table, from beginning of GDEF header (may be NULL)
lig_caret_list: NullableOffsetMarker<LigCaretList>Offset to ligature caret list table, from beginning of GDEF header (may be NULL)
mark_attach_class_def: NullableOffsetMarker<ClassDef>Offset to class definition table for mark attachment type, from beginning of GDEF header (may be NULL)
mark_glyph_sets_def: NullableOffsetMarker<MarkGlyphSets>Offset to the table of mark glyph set definitions, from beginning of GDEF header (may be NULL)
item_var_store: NullableOffsetMarker<ItemVariationStore, WIDTH_32>Offset to the Item Variation Store table, from beginning of GDEF header (may be NULL)
Implementations§
Trait Implementations§
source§impl FontWrite for Gdef
impl FontWrite for Gdef
source§fn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.
Auto Trait Implementations§
impl RefUnwindSafe for Gdef
impl Send for Gdef
impl Sync for Gdef
impl Unpin for Gdef
impl UnwindSafe for Gdef
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
source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere U: FromObjRef<T>,
source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.