struct UnicodeSubtables<'a> {
subtable: Option<CmapSubtable<'a>>,
vs_subtable: Option<UvsSubtable<'a>>,
is_symbol: bool,
is_mac_roman: bool,
}Fields§
§subtable: Option<CmapSubtable<'a>>§vs_subtable: Option<UvsSubtable<'a>>§is_symbol: bool§is_mac_roman: boolImplementations§
Source§impl<'a> UnicodeSubtables<'a>
impl<'a> UnicodeSubtables<'a>
fn read(cmap: Option<Cmap<'a>>) -> Self
pub(crate) fn map(&self, codepoint: u32) -> Option<GlyphId>
fn map_with( &self, codepoint: u32, lookup: impl FnMut(u32) -> Option<GlyphId>, ) -> Option<GlyphId>
fn map_batched<'o>( &self, codepoints: impl Iterator<Item = (u32, &'o mut GlyphId)>, ) -> usize
fn iter( &self, limits: CmapIterLimits, ) -> impl Iterator<Item = (u32, GlyphId)> + '_
Trait Implementations§
Source§impl<'a> Clone for UnicodeSubtables<'a>
impl<'a> Clone for UnicodeSubtables<'a>
Source§fn clone(&self) -> UnicodeSubtables<'a>
fn clone(&self) -> UnicodeSubtables<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Default for UnicodeSubtables<'a>
impl<'a> Default for UnicodeSubtables<'a>
Source§fn default() -> UnicodeSubtables<'a>
fn default() -> UnicodeSubtables<'a>
Returns the “default value” for a type. Read more
Source§impl<'yoke> Yokeable<'yoke> for UnicodeSubtables<'static>
impl<'yoke> Yokeable<'yoke> for UnicodeSubtables<'static>
Source§type Output = UnicodeSubtables<'yoke>
type Output = UnicodeSubtables<'yoke>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for UnicodeSubtables<'a>
impl<'a> RefUnwindSafe for UnicodeSubtables<'a>
impl<'a> Send for UnicodeSubtables<'a>
impl<'a> Sync for UnicodeSubtables<'a>
impl<'a> Unpin for UnicodeSubtables<'a>
impl<'a> UnsafeUnpin for UnicodeSubtables<'a>
impl<'a> UnwindSafe for UnicodeSubtables<'a>
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