Struct truetype::char_mapping::Encoding4
source · pub struct Encoding4 {Show 13 fields
pub format: u16,
pub length: u16,
pub language: u16,
pub segment_count_x2: u16,
pub search_range: u16,
pub entry_selector: u16,
pub range_shift: u16,
pub end_codes: Vec<u16>,
pub reserved: u16,
pub start_codes: Vec<u16>,
pub id_deltas: Vec<i16>,
pub id_range_offsets: Vec<u16>,
pub glyph_ids: Vec<GlyphID>,
}
Expand description
A char-to-glyph encoding in format 4.
Fields
format: u16
length: u16
language: u16
segment_count_x2: u16
search_range: u16
entry_selector: u16
range_shift: u16
end_codes: Vec<u16>
reserved: u16
start_codes: Vec<u16>
id_deltas: Vec<i16>
id_range_offsets: Vec<u16>
glyph_ids: Vec<GlyphID>
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Encoding4
impl Send for Encoding4
impl Sync for Encoding4
impl Unpin for Encoding4
impl UnwindSafe for Encoding4
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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