pub trait Embedded: Send {
// Required methods
fn place(&mut self, place: &Placement) -> Result<(), String>;
fn pump(&mut self) -> Result<(), String>;
fn own_window(&self) -> bool;
fn closed(&self) -> bool;
fn take_links(&mut self) -> Vec<String>;
}Expand description
A web view open. A failure’s text is shown on the error page.
Required Methods§
Sourcefn place(&mut self, place: &Placement) -> Result<(), String>
fn place(&mut self, place: &Placement) -> Result<(), String>
Moves and sizes it (a child; its own window ignores this).
Sourcefn own_window(&self) -> bool
fn own_window(&self) -> bool
Whether it is in a window of its own.
Sourcefn take_links(&mut self) -> Vec<String>
fn take_links(&mut self) -> Vec<String>
The addresses it was asked to go to and did not: opened outside, through the links service.