pub enum DecisionStep {
Close,
Save,
Cancel,
}Expand description
What the target does after an accepted decision.
Variants§
Close
Close the window.
Save
Run the declared save command; close only if it succeeds.
Cancel
Keep the window open; the close request is rejected.
Trait Implementations§
Source§impl Clone for DecisionStep
impl Clone for DecisionStep
impl Copy for DecisionStep
Source§impl Debug for DecisionStep
impl Debug for DecisionStep
impl Eq for DecisionStep
Source§impl PartialEq for DecisionStep
impl PartialEq for DecisionStep
impl StructuralPartialEq for DecisionStep
Auto Trait Implementations§
impl Freeze for DecisionStep
impl RefUnwindSafe for DecisionStep
impl Send for DecisionStep
impl Sync for DecisionStep
impl Unpin for DecisionStep
impl UnsafeUnpin for DecisionStep
impl UnwindSafe for DecisionStep
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