pub trait SingletonView<V> {
// Required method
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§
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.