pub enum ModalContent {
ExistingWidget(WidgetId),
Deferred(ModalBuilder),
}Expand description
Modal content source.
Variants§
ExistingWidget(WidgetId)
Reuse an already-inserted widget subtree in the current tree.
Deferred(ModalBuilder)
Build the modal content into a target widget tree on demand.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ModalContent
impl !Send for ModalContent
impl !Sync for ModalContent
impl !UnwindSafe for ModalContent
impl Freeze for ModalContent
impl Unpin for ModalContent
impl UnsafeUnpin for ModalContent
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