Enum allsorts_no_std::layout::ReverseChainSingleSubst [−][src]
GSUB Lookup Type 8 Subtable Formats
Variants
Format 1
Fields of Format1
coverage: Rc<Coverage>
Coverage table for the single input glyph
backtrack_coverages: Vec<Rc<Coverage>>
Array of backtrack sequence coverages, ordered by glyph sequence
lookahead_coverages: Vec<Rc<Coverage>>
Array of lookahead sequence coverages, ordered by glyph sequence
substitute_glyphs: Vec<u16>
Array of substitute glyphs, ordered by coverage index
Implementations
impl ReverseChainSingleSubst
[src]
pub fn apply_glyph(
&self,
glyph: u16,
f: impl Fn(&MatchContext<'_>) -> bool
) -> Result<Option<u16>, ParseError>
[src]
&self,
glyph: u16,
f: impl Fn(&MatchContext<'_>) -> bool
) -> Result<Option<u16>, ParseError>
Apply the substitution to the supplied glyph
Trait Implementations
impl<'a> ReadBinaryDep<'a> for ReverseChainSingleSubst
[src]
type HostType = Self
type Args = LayoutCache<GSUB>
fn read_dep(
ctxt: &mut ReadCtxt<'a>,
cache: Self::Args
) -> Result<Self, ParseError>
[src]
ctxt: &mut ReadCtxt<'a>,
cache: Self::Args
) -> Result<Self, ParseError>
Parse a GSUB Lookup Type 8 Subtable from the given read context
Auto Trait Implementations
impl !RefUnwindSafe for ReverseChainSingleSubst
impl !Send for ReverseChainSingleSubst
impl !Sync for ReverseChainSingleSubst
impl Unpin for ReverseChainSingleSubst
impl UnwindSafe for ReverseChainSingleSubst
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>,