Skip to main content

UpdateUAShadowRootForOther

Trait UpdateUAShadowRootForOther 

Source
pub(crate) trait UpdateUAShadowRootForOther<ElementType, ShadowTree>: UAShadowRoot<ShadowTree> {
    // Required method
    fn update_shadow_tree(&self, cx: &mut JSContext, element: &ElementType);
}

Required Methods§

Source

fn update_shadow_tree(&self, cx: &mut JSContext, element: &ElementType)

Implementors§

Source§

impl<T: UAShadowRoot<ShadowTree>, ShadowTree: SpecificShadowTree<ElementType, T>, ElementType: Castable + DerivedFrom<Element>> UpdateUAShadowRootForOther<ElementType, ShadowTree> for T