Fields
header: Header
opt_sub_table: Option<SubTable<'a>>
Implementations
sourceimpl<'a> PostTable<'a>
impl<'a> PostTable<'a>
sourcepub fn glyph_name(&self, glyph_index: u16) -> Result<Option<&'a str>, ParseError>
pub fn glyph_name(&self, glyph_index: u16) -> Result<Option<&'a str>, ParseError>
Retrieve the glyph name for the supplied glyph_index
.
Note: Some fonts map more than one glyph to the same name so don’t assume names are unique.
Trait Implementations
sourceimpl<'a> ReadBinary<'a> for PostTable<'a>
impl<'a> ReadBinary<'a> for PostTable<'a>
sourceimpl<'a> WriteBinary<&PostTable<'a>> for PostTable<'a>
impl<'a> WriteBinary<&PostTable<'a>> for PostTable<'a>
sourcefn write<C: WriteContext>(
ctxt: &mut C,
table: &PostTable<'a>
) -> Result<(), WriteError>
fn write<C: WriteContext>(
ctxt: &mut C,
table: &PostTable<'a>
) -> Result<(), WriteError>
Write the binary representation of Self to ctxt
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for PostTable<'a>
impl<'a> Send for PostTable<'a>
impl<'a> Sync for PostTable<'a>
impl<'a> Unpin for PostTable<'a>
impl<'a> UnwindSafe for PostTable<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<'a, T> ReadBinaryDep<'a> for T where
T: ReadBinary<'a>,
impl<'a, T> ReadBinaryDep<'a> for T where
T: ReadBinary<'a>,
type Args = ()
type HostType = <T as ReadBinary<'a>>::HostType
fn read_dep(
ctxt: &mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
sourceimpl<T, HostType> WriteBinaryDep<HostType> for T where
T: WriteBinary<HostType>,
impl<T, HostType> WriteBinaryDep<HostType> for T where
T: WriteBinary<HostType>,
type Output = <T as WriteBinary<HostType>>::Output
type Output = <T as WriteBinary<HostType>>::Output
The type of the value returned by write_dep
.
sourcefn write_dep<C>(
ctxt: &mut C,
val: HostType,
<T as WriteBinaryDep<HostType>>::Args
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError> where
C: WriteContext,
fn write_dep<C>(
ctxt: &mut C,
val: HostType,
<T as WriteBinaryDep<HostType>>::Args
) -> Result<<T as WriteBinaryDep<HostType>>::Output, WriteError> where
C: WriteContext,
Write the binary representation of Self to ctxt
.