Skip to main content
This is unreleased documentation for Yew Next version.
For up-to-date documentation, see the latest version on docs.rs.

Runnable

Trait Runnable 

Source
pub trait Runnable {
    // Required method
    fn run(self: Box<Self>);
}
Expand description

A routine which could be run.

Required Methods§

Source

fn run(self: Box<Self>)

Runs a routine with a context instance.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§