pub struct Dialog<Node, Message> {
pub content: Node,
/* private fields */
}Expand description
A modal dialog.
The engine centers the content on the screen and installs a dim backdrop
that captures outside clicks (configured via the parent
crate::AppLayout::on_close_modals).
The Message type parameter is preserved for future extension (e.g.
per-dialog animations or lifecycle hooks) without breaking API shape.
Fields§
§content: NodeImplementations§
Auto Trait Implementations§
impl<Node, Message> Freeze for Dialog<Node, Message>where
Node: Freeze,
impl<Node, Message> RefUnwindSafe for Dialog<Node, Message>where
Node: RefUnwindSafe,
Message: RefUnwindSafe,
impl<Node, Message> Send for Dialog<Node, Message>
impl<Node, Message> Sync for Dialog<Node, Message>
impl<Node, Message> Unpin for Dialog<Node, Message>
impl<Node, Message> UnsafeUnpin for Dialog<Node, Message>where
Node: UnsafeUnpin,
impl<Node, Message> UnwindSafe for Dialog<Node, Message>where
Node: UnwindSafe,
Message: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more