pub struct TextFontStackKey(pub u64);Expand description
Stable key representing the current effective text font stack / fallback configuration.
Runners should update this whenever the renderer text backend changes in a way that can affect shaping/metrics: font family overrides, user font loading, web font injection, etc.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for TextFontStackKey
impl Clone for TextFontStackKey
Source§fn clone(&self) -> TextFontStackKey
fn clone(&self) -> TextFontStackKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TextFontStackKey
impl Debug for TextFontStackKey
Source§impl Default for TextFontStackKey
impl Default for TextFontStackKey
Source§fn default() -> TextFontStackKey
fn default() -> TextFontStackKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TextFontStackKey
impl<'de> Deserialize<'de> for TextFontStackKey
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TextFontStackKey
impl PartialEq for TextFontStackKey
Source§impl Serialize for TextFontStackKey
impl Serialize for TextFontStackKey
impl Copy for TextFontStackKey
impl Eq for TextFontStackKey
impl StructuralPartialEq for TextFontStackKey
Auto Trait Implementations§
impl Freeze for TextFontStackKey
impl RefUnwindSafe for TextFontStackKey
impl Send for TextFontStackKey
impl Sync for TextFontStackKey
impl Unpin for TextFontStackKey
impl UnsafeUnpin for TextFontStackKey
impl UnwindSafe for TextFontStackKey
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