pub struct Dialog;Expand description
Event-handling for a dialog like widget.
Similar to Popup but with the extra that it consumes all events when active. No regular widget gets any event, and we have modal behaviour.
Trait Implementations§
Source§impl<'a> HandleEvent<Event, Dialog, DialogOutcome> for DialogFrameState
impl<'a> HandleEvent<Event, Dialog, DialogOutcome> for DialogFrameState
Source§impl HandleEvent<Event, Dialog, Outcome> for MsgDialogState
impl HandleEvent<Event, Dialog, Outcome> for MsgDialogState
Source§impl HandleEvent<Event, Dialog, Result<FileOutcome, Error>> for FileDialogState
impl HandleEvent<Event, Dialog, Result<FileOutcome, Error>> for FileDialogState
impl Copy for Dialog
Auto Trait Implementations§
impl Freeze for Dialog
impl RefUnwindSafe for Dialog
impl Send for Dialog
impl Sync for Dialog
impl Unpin for Dialog
impl UnwindSafe for Dialog
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more