Struct write_fonts::tables::gsub::LigatureSet
source · pub struct LigatureSet {
pub ligatures: Vec<OffsetMarker<Ligature>>,
}Expand description
Part of LigatureSubstFormat1
Fields§
§ligatures: Vec<OffsetMarker<Ligature>>Array of offsets to Ligature tables. Offsets are from beginning of LigatureSet table, ordered by preference.
Implementations§
Trait Implementations§
source§impl Clone for LigatureSet
impl Clone for LigatureSet
source§fn clone(&self) -> LigatureSet
fn clone(&self) -> LigatureSet
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 LigatureSet
impl Debug for LigatureSet
source§impl Default for LigatureSet
impl Default for LigatureSet
source§fn default() -> LigatureSet
fn default() -> LigatureSet
Returns the “default value” for a type. Read more
source§impl<'a> FontRead<'a> for LigatureSet
impl<'a> FontRead<'a> for LigatureSet
source§impl FontWrite for LigatureSet
impl FontWrite for LigatureSet
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 LigatureSet
impl Validate for LigatureSet
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 LigatureSet
impl Send for LigatureSet
impl Sync for LigatureSet
impl Unpin for LigatureSet
impl UnwindSafe for LigatureSet
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.