pub trait FlipReceiver {
// Required methods
fn receives(&self) -> LayerSet;
fn present(&mut self, carry: Carry);
}Expand description
An engine that can host a flipped page. A secondary receiver consumes a
Carry::Forward by navigating; a primary receiver consumes a Carry::Back
by re-fetching the URL and re-rendering from source.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl FlipReceiver for ScryForward
scry receives a Carry::Forward by storing it for the host-driven pump. A
Carry::Back is meaningless for a secondary (it never re-roots), so it is
ignored. present only stages the flip; begin /
on_nav do the work across frames.