pub struct SystemFontRescanState {
pub in_flight: bool,
pub pending: bool,
}Expand description
Best-effort status for the runner-owned system font rescan pipeline (native-only).
Desktop runners may run a one-time async system font rescan at startup to populate font catalogs. Diagnostics and perf scripts can use this state to avoid including that one-time work inside measured windows.
Fields§
§in_flight: boolTrue while the runner is performing a background system font rescan.
pending: boolTrue when another rescan was requested while a rescan was already in flight.
Trait Implementations§
Source§impl Clone for SystemFontRescanState
impl Clone for SystemFontRescanState
Source§fn clone(&self) -> SystemFontRescanState
fn clone(&self) -> SystemFontRescanState
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 SystemFontRescanState
impl Debug for SystemFontRescanState
Source§impl Default for SystemFontRescanState
impl Default for SystemFontRescanState
Source§fn default() -> SystemFontRescanState
fn default() -> SystemFontRescanState
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SystemFontRescanState
impl<'de> Deserialize<'de> for SystemFontRescanState
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 SystemFontRescanState
impl PartialEq for SystemFontRescanState
Source§impl Serialize for SystemFontRescanState
impl Serialize for SystemFontRescanState
impl Copy for SystemFontRescanState
impl Eq for SystemFontRescanState
impl StructuralPartialEq for SystemFontRescanState
Auto Trait Implementations§
impl Freeze for SystemFontRescanState
impl RefUnwindSafe for SystemFontRescanState
impl Send for SystemFontRescanState
impl Sync for SystemFontRescanState
impl Unpin for SystemFontRescanState
impl UnsafeUnpin for SystemFontRescanState
impl UnwindSafe for SystemFontRescanState
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