[−][src]Struct allsorts::layout::AlternateSubst
Methods
impl AlternateSubst
[src]
pub fn apply_glyph(
&self,
glyph: u16
) -> Result<Option<&AlternateSet>, ParseError>
[src]
&self,
glyph: u16
) -> Result<Option<&AlternateSet>, ParseError>
Trait Implementations
impl<'a> ReadBinaryDep<'a> for AlternateSubst
[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>
Auto Trait Implementations
impl !RefUnwindSafe for AlternateSubst
impl !Send for AlternateSubst
impl !Sync for AlternateSubst
impl Unpin for AlternateSubst
impl UnwindSafe for AlternateSubst
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,
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<'a, T> ReadBinaryDep<'a> for T where
T: ReadBinary<'a>,
[src]
T: ReadBinary<'a>,
type Args = ()
type HostType = <T as ReadBinary<'a>>::HostType
fn read_dep(
&mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
[src]
&mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
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.
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>,