pub struct FontUid(pub u64);Expand description
FontUid is the process-unique identity of one font instance.
Glyph caches may use it as a stable key because equal identifiers imply equal outlines and variation coordinates.
Tuple Fields§
§0: u64The process-unique numeric identity.
Trait Implementations§
impl Copy for FontUid
impl Eq for FontUid
Source§impl Ord for FontUid
impl Ord for FontUid
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
Source§impl PartialOrd for FontUid
impl PartialOrd for FontUid
impl StructuralPartialEq for FontUid
Auto Trait Implementations§
impl Freeze for FontUid
impl RefUnwindSafe for FontUid
impl Send for FontUid
impl Sync for FontUid
impl Unpin for FontUid
impl UnsafeUnpin for FontUid
impl UnwindSafe for FontUid
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