pub trait ModalTarget: Send + 'static {
// Required methods
fn new_handle(&self) -> ModalHandle;
fn layer(&self) -> &Modal;
}
Expand description
A target for a Modal
session.
Required Methods§
sourcefn new_handle(&self) -> ModalHandle
fn new_handle(&self) -> ModalHandle
Returns a new handle that can be used to show a dialog above self
.