trait CascadeDataCacheEntry: Sized {
// Required method
fn rebuild<S>(
device: &Device,
quirks_mode: QuirksMode,
collection: SheetCollectionFlusher<'_, S>,
guard: &SharedRwLockReadGuard<'_>,
old_entry: &Self,
difference: &mut CascadeDataDifference,
) -> 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,
difference: &mut CascadeDataDifference,
) -> 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,
difference: &mut CascadeDataDifference,
) -> 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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.