pub enum CmapSubtable {
Format0 {
language: u16,
glyph_id_array: Box<[u8; 256]>,
},
Format4(CmapSubtableFormat4),
Format6 {
language: u16,
first_code: u16,
glyph_id_array: Vec<u16>,
},
Format10 {
language: u32,
start_char_code: u32,
glyph_id_array: Vec<u16>,
},
Format12(CmapSubtableFormat12),
}Variants§
Implementations§
Source§impl CmapSubtable
impl CmapSubtable
Trait Implementations§
Source§impl Clone for CmapSubtable
impl Clone for CmapSubtable
Source§fn clone(&self) -> CmapSubtable
fn clone(&self) -> CmapSubtable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CmapSubtable
impl Debug for CmapSubtable
Source§impl PartialEq for CmapSubtable
impl PartialEq for CmapSubtable
Source§impl WriteBinary for CmapSubtable
impl WriteBinary for CmapSubtable
Source§fn write<C: WriteContext>(
ctxt: &mut C,
table: CmapSubtable,
) -> Result<(), WriteError>
fn write<C: WriteContext>( ctxt: &mut C, table: CmapSubtable, ) -> Result<(), WriteError>
Write the binary representation of Self to
ctxt.impl StructuralPartialEq for CmapSubtable
Auto Trait Implementations§
impl Freeze for CmapSubtable
impl RefUnwindSafe for CmapSubtable
impl Send for CmapSubtable
impl Sync for CmapSubtable
impl Unpin for CmapSubtable
impl UnwindSafe for CmapSubtable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T, HostType> WriteBinaryDep<HostType> for Twhere
T: WriteBinary<HostType>,
impl<T, HostType> WriteBinaryDep<HostType> for Twhere
T: WriteBinary<HostType>,
Source§type Output = <T as WriteBinary<HostType>>::Output
type Output = <T as WriteBinary<HostType>>::Output
The type of the value returned by
write_dep.Source§fn 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.