pub enum FidelityLevel {
Exact,
Approximate,
Degraded,
}Expand description
Overall rendering fidelity of a laid-out document.
Variants§
Exact
Every used font matched natively or with an exact metric stand-in, with zero missing glyphs, skipped content, or visual approximations.
Approximate
All text and drawings rendered, but at least one font used a fallback or approximate metrics, or a visual property was approximated (line breaks or appearance may differ).
Degraded
Some text, glyphs, drawings, or document parts could not be rendered faithfully.
Implementations§
Trait Implementations§
Source§impl Clone for FidelityLevel
impl Clone for FidelityLevel
impl Copy for FidelityLevel
Source§impl Debug for FidelityLevel
impl Debug for FidelityLevel
Source§impl Default for FidelityLevel
impl Default for FidelityLevel
impl Eq for FidelityLevel
Source§impl Hash for FidelityLevel
impl Hash for FidelityLevel
Source§impl Ord for FidelityLevel
impl Ord for FidelityLevel
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FidelityLevel
impl PartialEq for FidelityLevel
Source§impl PartialOrd for FidelityLevel
impl PartialOrd for FidelityLevel
impl StructuralPartialEq for FidelityLevel
Auto Trait Implementations§
impl Forget for FidelityLevel
impl Freeze for FidelityLevel
impl Move for FidelityLevel
impl RefUnwindSafe for FidelityLevel
impl Send for FidelityLevel
impl Sync for FidelityLevel
impl Unpin for FidelityLevel
impl UnsafeUnpin for FidelityLevel
impl UnwindSafe for FidelityLevel
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
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.