pub trait StylingInterface:
Send
+ Sync
+ RefUnwindSafe {
// Required method
fn new_context<'c>(
&'c self,
html: &HtmlAllocator,
) -> Result<Box<dyn StylingContextInterface<'c> + 'c>>;
}Required Methods§
fn new_context<'c>( &'c self, html: &HtmlAllocator, ) -> Result<Box<dyn StylingContextInterface<'c> + 'c>>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".