Trait Input

Source
pub trait Input: InputProps {
    // Required methods
    fn receiver(&mut self) -> Pin<Box<dyn InputReceiver + '_>>;
    fn set_value(&mut self, value: Value);
}
Expand description

The input trait

Required Methods§

Source

fn receiver(&mut self) -> Pin<Box<dyn InputReceiver + '_>>

Gets this input receiver which can be polled for data.

Source

fn set_value(&mut self, value: Value)

Sets this input value

Implementors§