pub struct SubTable<'a> {
pub num_glyphs: u16,
pub glyph_name_index: ReadArray<'a, U16Be>,
pub names: Vec<PascalString<'a>>,
}
Fields
num_glyphs: u16
glyph_name_index: ReadArray<'a, U16Be>
names: Vec<PascalString<'a>>
Trait Implementations
sourceimpl<'a> WriteBinary<&'_ SubTable<'a>> for SubTable<'a>
impl<'a> WriteBinary<&'_ SubTable<'a>> for SubTable<'a>
sourcefn write<C: WriteContext>(
ctxt: &mut C,
table: &SubTable<'a>
) -> Result<(), WriteError>
fn write<C: WriteContext>(
ctxt: &mut C,
table: &SubTable<'a>
) -> Result<(), WriteError>
Write the binary representation of Self to ctxt
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for SubTable<'a>
impl<'a> Send for SubTable<'a>
impl<'a> Sync for SubTable<'a>
impl<'a> Unpin for SubTable<'a>
impl<'a> UnwindSafe for SubTable<'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<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
.