[][src]Enum allsorts::gpos::Placement

pub enum Placement {
    None,
    Distance(i32i32),
    Anchor(AnchorAnchor),
}

Adjustment to the placement of a glyph as a result of kerning, etc.

Variants

None
Distance(i32i32)

Placement offset by distance delta.

Fields (delta x, delta y)

Anchor(AnchorAnchor)

Cursive anchored placement.

Fields: (entry anchor point, exit anchor point)

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

Trait Implementations

impl Debug for Placement[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.