Trait script::dom::shadowroot::LayoutShadowRootHelpers
source · pub trait LayoutShadowRootHelpers<'dom> {
// Required methods
fn get_host_for_layout(self) -> LayoutDom<'dom, Element>;
fn get_style_data_for_layout(self) -> &'dom CascadeData;
unsafe fn flush_stylesheets<E: TElement>(
self,
stylist: &mut Stylist,
guard: &SharedRwLockReadGuard<'_>,
);
}
Required Methods§
fn get_host_for_layout(self) -> LayoutDom<'dom, Element>
fn get_style_data_for_layout(self) -> &'dom CascadeData
unsafe fn flush_stylesheets<E: TElement>( self, stylist: &mut Stylist, guard: &SharedRwLockReadGuard<'_>, )
Object Safety§
This trait is not object safe.