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<'de> Deserialize<'de> for Gdef
impl<'de> Deserialize<'de> for Gdef
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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.
Source§fn table_type(&self) -> TableType
fn table_type(&self) -> TableType
The type of this table. Read more
Source§impl Ord for Gdef
impl Ord for Gdef
Source§impl PartialOrd for Gdef
impl PartialOrd for Gdef
Source§impl RemapVariationIndices for Gdef
impl RemapVariationIndices for Gdef
Source§fn remap_variation_indices(&mut self, key_map: &VariationIndexRemapping)
fn remap_variation_indices(&mut self, key_map: &VariationIndexRemapping)
Remap any
TemporaryDeltaSetId
s to their final VariationIndex
valuesSource§impl Validate for Gdef
impl Validate for Gdef
Source§fn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
impl Eq for Gdef
impl StructuralPartialEq for Gdef
Auto Trait Implementations§
impl Freeze for Gdef
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<'a, T> FontReadWithArgs<'a> for Twhere
T: FontRead<'a>,
impl<'a, T> FontReadWithArgs<'a> for Twhere
T: FontRead<'a>,
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.