Struct write_fonts::tables::gpos::LigatureArray
source · pub struct LigatureArray {
pub ligature_attaches: Vec<OffsetMarker<LigatureAttach>>,
}Expand description
Part of MarkLigPosFormat1
Fields§
§ligature_attaches: Vec<OffsetMarker<LigatureAttach>>Array of offsets to LigatureAttach tables. Offsets are from beginning of LigatureArray table, ordered by ligatureCoverage index.
Implementations§
source§impl LigatureArray
impl LigatureArray
sourcepub fn new(ligature_attaches: Vec<LigatureAttach>) -> Self
pub fn new(ligature_attaches: Vec<LigatureAttach>) -> Self
Construct a new LigatureArray
Trait Implementations§
source§impl Clone for LigatureArray
impl Clone for LigatureArray
source§fn clone(&self) -> LigatureArray
fn clone(&self) -> LigatureArray
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 LigatureArray
impl Debug for LigatureArray
source§impl Default for LigatureArray
impl Default for LigatureArray
source§fn default() -> LigatureArray
fn default() -> LigatureArray
Returns the “default value” for a type. Read more
source§impl FontWrite for LigatureArray
impl FontWrite for LigatureArray
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 Validate for LigatureArray
impl Validate for LigatureArray
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 LigatureArray
impl Send for LigatureArray
impl Sync for LigatureArray
impl Unpin for LigatureArray
impl UnwindSafe for LigatureArray
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.