Trait style::stylist::CascadeDataCacheEntry
source · trait CascadeDataCacheEntry: Sized {
// Required method
fn rebuild<S>(
device: &Device,
quirks_mode: QuirksMode,
collection: SheetCollectionFlusher<'_, S>,
guard: &SharedRwLockReadGuard<'_>,
old_entry: &Self,
) -> Result<Arc<Self>, AllocErr>
where S: StylesheetInDocument + PartialEq + 'static;
}
Required Methods§
sourcefn rebuild<S>(
device: &Device,
quirks_mode: QuirksMode,
collection: SheetCollectionFlusher<'_, S>,
guard: &SharedRwLockReadGuard<'_>,
old_entry: &Self,
) -> Result<Arc<Self>, AllocErr>where
S: StylesheetInDocument + PartialEq + 'static,
fn rebuild<S>(
device: &Device,
quirks_mode: QuirksMode,
collection: SheetCollectionFlusher<'_, S>,
guard: &SharedRwLockReadGuard<'_>,
old_entry: &Self,
) -> Result<Arc<Self>, AllocErr>where
S: StylesheetInDocument + PartialEq + 'static,
Rebuilds the cascade data for the new stylesheet collection. The collection is guaranteed to be dirty.
Object Safety§
This trait is not object safe.