moxie::embed::Runtime which provides an
Env for building
trees of DOM nodes.
Construct a new
WebRuntime which will maintain the children of the
On its own, a
WebRuntime is inert and must either have its
method called when a re-render is needed, or be scheduled with
Run the root function in a fresh
moxie::embed::Runtime::run_once for details.
Create a new
div and use that as the parent node for the runtime with
which it is returned.
pub fn animation_frame_scheduler(self) -> AnimationFrameScheduler<Self>[src]
Pass ownership of this runtime to a "loop" which runs with
Create a new virtual
div and use that as the parent node for the
runtime with which it is returned.
impl Tick for WebRuntime[src]
impl Waking for WebRuntime[src]
Auto Trait Implementations
impl !RefUnwindSafe for WebRuntime
impl !Send for WebRuntime
impl !Sync for WebRuntime
impl Unpin for WebRuntime
impl !UnwindSafe for WebRuntime
type Error = Infallible
The type returned in the event of a conversion error.