Struct write_fonts::tables::cmap::CmapConflict
source · pub struct CmapConflict { /* private fields */ }Expand description
A conflicting Cmap definition, one char is mapped to multiple distinct GlyphIds.
If there are multiple conflicting mappings, one is chosen arbitrarily. gid1 is less than gid2.
Trait Implementations§
source§impl Clone for CmapConflict
impl Clone for CmapConflict
source§fn clone(&self) -> CmapConflict
fn clone(&self) -> CmapConflict
Returns a copy 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 CmapConflict
impl Debug for CmapConflict
source§impl Display for CmapConflict
impl Display for CmapConflict
source§impl Error for CmapConflict
impl Error for CmapConflict
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq for CmapConflict
impl PartialEq for CmapConflict
source§fn eq(&self, other: &CmapConflict) -> bool
fn eq(&self, other: &CmapConflict) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CmapConflict
impl StructuralPartialEq for CmapConflict
Auto Trait Implementations§
impl Freeze for CmapConflict
impl RefUnwindSafe for CmapConflict
impl Send for CmapConflict
impl Sync for CmapConflict
impl Unpin for CmapConflict
impl UnwindSafe for CmapConflict
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.