pub struct FontStatus {
pub asked: Option<Name>,
pub used: Option<Name>,
pub version: Option<Name>,
pub match_kind: FontMatchKind,
}Expand description
Resolution details for one font family requested by the document.
Fields§
§asked: Option<Name>The family requested by the document (None when text named no font).
used: Option<Name>The family that rendered the text (None when missing or unknown).
version: Option<Name>The resolved face version, when known.
match_kind: FontMatchKindHow the rendered face relates to the requested family.
Trait Implementations§
Source§impl Clone for FontStatus
impl Clone for FontStatus
Source§impl Debug for FontStatus
impl Debug for FontStatus
impl Eq for FontStatus
Source§impl Hash for FontStatus
impl Hash for FontStatus
Source§impl PartialEq for FontStatus
impl PartialEq for FontStatus
impl StructuralPartialEq for FontStatus
Auto Trait Implementations§
impl Forget for FontStatus
impl Freeze for FontStatus
impl Move for FontStatus
impl RefUnwindSafe for FontStatus
impl Send for FontStatuswhere
RawVecInner: Send,
impl Sync for FontStatuswhere
RawVecInner: Sync,
impl Unpin for FontStatus
impl UnsafeUnpin for FontStatus
impl UnwindSafe for FontStatuswhere
RawVecInner: UnwindSafe,
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> 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.