pub struct ChromiumRenderer { /* private fields */ }Expand description
Chromium-based renderer.
Implementations§
Trait Implementations§
Source§impl Renderer for ChromiumRenderer
impl Renderer for ChromiumRenderer
Source§fn new_context<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn RenderContext>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn new_context<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Box<dyn RenderContext>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Create a new browser context (tab).
Source§fn shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn shutdown<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Shut down the browser engine.
Source§fn active_contexts(&self) -> usize
fn active_contexts(&self) -> usize
Number of currently active contexts.
Auto Trait Implementations§
impl Freeze for ChromiumRenderer
impl !RefUnwindSafe for ChromiumRenderer
impl Send for ChromiumRenderer
impl Sync for ChromiumRenderer
impl Unpin for ChromiumRenderer
impl UnsafeUnpin for ChromiumRenderer
impl !UnwindSafe for ChromiumRenderer
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