Struct write_fonts::tables::gpos::PairPosFormat1
source · pub struct PairPosFormat1 {
pub coverage: OffsetMarker<CoverageTable>,
pub pair_sets: Vec<OffsetMarker<PairSet>>,
}Expand description
Pair Adjustment Positioning Format 1: Adjustments for Glyph Pairs
Fields§
§coverage: OffsetMarker<CoverageTable>Offset to Coverage table, from beginning of PairPos subtable.
pair_sets: Vec<OffsetMarker<PairSet>>Array of offsets to PairSet tables. Offsets are from beginning of PairPos subtable, ordered by Coverage Index.
Implementations§
source§impl PairPosFormat1
impl PairPosFormat1
sourcepub fn new(coverage: CoverageTable, pair_sets: Vec<PairSet>) -> Self
pub fn new(coverage: CoverageTable, pair_sets: Vec<PairSet>) -> Self
Construct a new PairPosFormat1
Trait Implementations§
source§impl Clone for PairPosFormat1
impl Clone for PairPosFormat1
source§fn clone(&self) -> PairPosFormat1
fn clone(&self) -> PairPosFormat1
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PairPosFormat1
impl Debug for PairPosFormat1
source§impl Default for PairPosFormat1
impl Default for PairPosFormat1
source§fn default() -> PairPosFormat1
fn default() -> PairPosFormat1
Returns the “default value” for a type. Read more
source§impl<'a> FontRead<'a> for PairPosFormat1
impl<'a> FontRead<'a> for PairPosFormat1
source§impl FontWrite for PairPosFormat1
impl FontWrite for PairPosFormat1
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.
fn name(&self) -> &'static str
source§impl Validate for PairPosFormat1
impl Validate for PairPosFormat1
source§fn validate_impl(&self, ctx: &mut ValidationCtx)
fn validate_impl(&self, ctx: &mut ValidationCtx)
Validate this table. Read more
Auto Trait Implementations§
impl RefUnwindSafe for PairPosFormat1
impl Send for PairPosFormat1
impl Sync for PairPosFormat1
impl Unpin for PairPosFormat1
impl UnwindSafe for PairPosFormat1
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.