pub enum CmapSubtable {
Format0 {
length: u16,
language: u16,
glyph_id_array: [u8; 256],
},
Format2 {
length: u16,
language: u16,
sub_header_keys: [u16; 256],
sub_headers: Vec<SubHeader>,
glyph_id_array: Vec<u16>,
},
Format4 {
length: u16,
language: u16,
seg_count_x2: u16,
search_range: u16,
entry_selector: u16,
range_shift: u16,
end_code: Vec<u16>,
_reserved_pad: u16,
start_code: Vec<u16>,
id_delta: Vec<i16>,
id_range_offset: Vec<u16>,
glyph_id_array: Vec<u16>,
},
Format6 {
length: u16,
language: u16,
first_code: u16,
entry_count: u16,
glyph_id_array: Vec<u16>,
},
Format12 {
_reserved: u16,
length: u32,
language: u32,
num_groups: u32,
groups: Vec<Group>,
},
Format13 {
_reserved: u16,
length: u32,
language: u32,
num_groups: u32,
groups: Vec<Group>,
},
Format14 {
length: u32,
num_var_selector_records: u32,
var_selector: Vec<VariationSelectorRecord>,
},
}Variants§
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 PartialEq for CmapSubtable
impl PartialEq for CmapSubtable
impl Eq for CmapSubtable
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 UnsafeUnpin 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