pub struct FaceMatch {
pub id: u16,
pub attributes: FaceAttributes,
}Expand description
The face a request for a family, slope and weight resolved to, and what that face actually is.
The two differ when the family has no cut at the slope or weight asked for; the caller decides whether that is worth a diagnostic.
Fields§
§id: u16The registry id to shape and paint with.
attributes: FaceAttributesWhat that face is, which need not be what was asked for.
Trait Implementations§
impl Copy for FaceMatch
impl Eq for FaceMatch
impl StructuralPartialEq for FaceMatch
Auto Trait Implementations§
impl Freeze for FaceMatch
impl RefUnwindSafe for FaceMatch
impl Send for FaceMatch
impl Sync for FaceMatch
impl Unpin for FaceMatch
impl UnsafeUnpin for FaceMatch
impl UnwindSafe for FaceMatch
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§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.