pub trait SingletonView<V> {
    fn find(siv: &mut Cursive) -> ViewRef<V>;
}
Expand description

Type-safe “singleton” view: a kind of view which is addressed by name, for which exactly one copy exists in the Cursive application.

Required methods

Look up the instance of the singleton view in the application. Panics if it hasn’t been added.

Implementors