Enum allsorts_no_std::gpos::Attachment[][src]

pub enum Attachment {
    None,
    MarkAnchor(usizeAnchorAnchor),
    MarkOverprint(usize),
    CursiveAnchor(usizeAnchorAnchor),
}

Placement of an attachment relative to a base glyph.

Variants

None
MarkAnchor(usizeAnchorAnchor)

An anchored mark.

This is a mark where its anchor is aligned with the base glyph anchor.

Fields: (base glyph index in Vec<Info>, base glyph anchor, mark anchor)

MarkOverprint(usize)

An overprint mark.

This mark is shown at the same position as the base glyph.

Fields: (base glyph index in Vec<Info>)

CursiveAnchor(usizeAnchorAnchor)

Cursive anchored placement.

Fields: (exit glyph index in Vec<Info>, exit glyph anchor, entry glyph anchor)

https://docs.microsoft.com/en-us/typography/opentype/spec/gpos#lookup-type-3-cursive-attachment-positioning-subtable

Trait Implementations

impl Debug for Attachment[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.