pub struct CustomCssEngine;Expand description
Custom CSS engine — delegates to the existing css_cascade machinery.
Implementations§
Trait Implementations§
Source§impl CssEngine for CustomCssEngine
impl CssEngine for CustomCssEngine
Source§fn compute_style(
&self,
_element: &DomElement<'_>,
_stylesheet: &str,
) -> ComputedStyle
fn compute_style( &self, _element: &DomElement<'_>, _stylesheet: &str, ) -> ComputedStyle
Compute the style for a single element given the document stylesheet.
Auto Trait Implementations§
impl Freeze for CustomCssEngine
impl RefUnwindSafe for CustomCssEngine
impl Send for CustomCssEngine
impl Sync for CustomCssEngine
impl Unpin for CustomCssEngine
impl UnsafeUnpin for CustomCssEngine
impl UnwindSafe for CustomCssEngine
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