Enum allsorts_no_std::gpos::Attachment [−][src]
Placement of an attachment relative to a base glyph.
Variants
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>
)
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
Auto Trait Implementations
impl RefUnwindSafe for Attachment
impl Send for Attachment
impl Sync for Attachment
impl Unpin for Attachment
impl UnwindSafe for Attachment
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,