pub struct ResolvedFamily {
pub span: StrSpan,
pub hash: u64,
}Expand description
A node’s resolved font family: where it lives in the store plus the xxh64 of its text.
Equality is by content hash alone, so an in-place StrArena replace that keeps the span
("Arial" → "Inter") still compares unequal, while the same family at another span does not.
Fields§
§span: StrSpan§hash: u64Implementations§
Trait Implementations§
Source§impl Clone for ResolvedFamily
impl Clone for ResolvedFamily
impl Copy for ResolvedFamily
Source§impl Debug for ResolvedFamily
impl Debug for ResolvedFamily
Source§impl Default for ResolvedFamily
impl Default for ResolvedFamily
Auto Trait Implementations§
impl Forget for ResolvedFamily
impl Freeze for ResolvedFamily
impl Move for ResolvedFamily
impl RefUnwindSafe for ResolvedFamily
impl Send for ResolvedFamily
impl Sync for ResolvedFamily
impl Unpin for ResolvedFamily
impl UnsafeUnpin for ResolvedFamily
impl UnwindSafe for ResolvedFamily
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