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
Format0
Format4(CmapSubtableFormat4)
Format6
Format10
Format12(CmapSubtableFormat12)
Implementations
sourceimpl CmapSubtable
impl CmapSubtable
Trait Implementations
sourceimpl Clone for CmapSubtable
impl Clone for CmapSubtable
sourcefn clone(&self) -> CmapSubtable
fn clone(&self) -> CmapSubtable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CmapSubtable
impl Debug for CmapSubtable
sourceimpl PartialEq<CmapSubtable> for CmapSubtable
impl PartialEq<CmapSubtable> for CmapSubtable
sourcefn eq(&self, other: &CmapSubtable) -> bool
fn eq(&self, other: &CmapSubtable) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CmapSubtable) -> bool
fn ne(&self, other: &CmapSubtable) -> bool
This method tests for !=
.
sourceimpl<'a> WriteBinary<CmapSubtable> for CmapSubtable
impl<'a> WriteBinary<CmapSubtable> for CmapSubtable
sourcefn 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 RefUnwindSafe for CmapSubtable
impl Send for CmapSubtable
impl Sync for CmapSubtable
impl Unpin for CmapSubtable
impl UnwindSafe for CmapSubtable
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
.