StylingInterface

Trait StylingInterface 

Source
pub trait StylingInterface:
    Send
    + Sync
    + RefUnwindSafe {
    // Required method
    fn new_context<'c>(
        &'c self,
        html: &HtmlAllocator,
    ) -> Result<Box<dyn StylingContextInterface<'c> + 'c>>;
}

Required Methods§

Source

fn new_context<'c>( &'c self, html: &HtmlAllocator, ) -> Result<Box<dyn StylingContextInterface<'c> + 'c>>

Implementors§