OutputProducer

Trait OutputProducer 

Source
pub trait OutputProducer<App, Value>
where App: HasOutputType,
{ // Required method fn produce_output(app: &App, value: Value) -> App::Output; }

Required Methods§

Source

fn produce_output(app: &App, value: Value) -> App::Output

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Component, App, Value> OutputProducer<App, Value> for Component
where App: HasOutputType, Component: DelegateComponent<OutputProducerComponent>, Component::Delegate: OutputProducer<App, Value>,