pub enum ModalAction {
Close,
BackdropClicked,
EscapePressed,
}Expand description
Modal action emitted by ModalState::handle_event.
Variants§
Close
The modal should close.
BackdropClicked
Backdrop was clicked.
EscapePressed
Escape was pressed.
Trait Implementations§
Source§impl Clone for ModalAction
impl Clone for ModalAction
impl Copy for ModalAction
Source§impl Debug for ModalAction
impl Debug for ModalAction
impl Eq for ModalAction
Source§impl PartialEq for ModalAction
impl PartialEq for ModalAction
impl StructuralPartialEq for ModalAction
Auto Trait Implementations§
impl Forget for ModalAction
impl Freeze for ModalAction
impl Move for ModalAction
impl RefUnwindSafe for ModalAction
impl Send for ModalAction
impl Sync for ModalAction
impl Unpin for ModalAction
impl UnsafeUnpin for ModalAction
impl UnwindSafe for ModalAction
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