pub struct ModalPopup<'ui> { /* private fields */ }Expand description
Builder for a modal popup
Implementations§
Source§impl<'ui> ModalPopup<'ui>
impl<'ui> ModalPopup<'ui>
Sourcepub fn flags(self, flags: WindowFlags) -> Self
pub fn flags(self, flags: WindowFlags) -> Self
Sets the window flags
Sourcepub fn begin(self) -> Option<ModalPopupToken<'ui>>
pub fn begin(self) -> Option<ModalPopupToken<'ui>>
Begins the modal popup
Trait Implementations§
Auto Trait Implementations§
impl<'ui> Freeze for ModalPopup<'ui>
impl<'ui> !RefUnwindSafe for ModalPopup<'ui>
impl<'ui> !Send for ModalPopup<'ui>
impl<'ui> !Sync for ModalPopup<'ui>
impl<'ui> Unpin for ModalPopup<'ui>
impl<'ui> !UnwindSafe for ModalPopup<'ui>
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