Enum write_fonts::tables::gpos::AnchorTable
source · pub enum AnchorTable {
Format1(AnchorFormat1),
Format2(AnchorFormat2),
Format3(AnchorFormat3),
}
Expand description
Anchor Tables position one glyph with respect to another.
Variants§
Implementations§
Trait Implementations§
source§impl Clone for AnchorTable
impl Clone for AnchorTable
source§fn clone(&self) -> AnchorTable
fn clone(&self) -> AnchorTable
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 AnchorTable
impl Debug for AnchorTable
source§impl Default for AnchorTable
impl Default for AnchorTable
source§impl<'a> FontRead<'a> for AnchorTable
impl<'a> FontRead<'a> for AnchorTable
source§impl FontWrite for AnchorTable
impl FontWrite for AnchorTable
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§impl FromObjRef<AnchorTable<'_>> for AnchorTable
impl FromObjRef<AnchorTable<'_>> for AnchorTable
source§fn from_obj_ref(obj: &AnchorTable<'_>, _: FontData<'_>) -> Self
fn from_obj_ref(obj: &AnchorTable<'_>, _: FontData<'_>) -> Self
Convert
from
to an instance of Self
, using the provided data to resolve offsets.source§impl FromTableRef<AnchorTable<'_>> for AnchorTable
impl FromTableRef<AnchorTable<'_>> for AnchorTable
fn from_table_ref(from: &T) -> Self
source§impl Validate for AnchorTable
impl Validate for AnchorTable
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 AnchorTable
impl Send for AnchorTable
impl Sync for AnchorTable
impl Unpin for AnchorTable
impl UnwindSafe for AnchorTable
Blanket Implementations§
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.