pub trait ManagedView:
Focusable
+ EventEmitter<DismissEvent>
+ Render { }Expand description
A view whose lifetime is controlled by a parent view, such as a modal, popover or menu.
The parent creates the view, focuses it, and drops it when the view emits
DismissEvent. Any type that implements Focusable, Render and
EventEmitter<DismissEvent> implements this trait automatically.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".