pub enum PopupOutcome {
Continue,
Unchanged,
Changed,
Hide,
}Variants§
Continue
The given event has not been used at all.
Unchanged
The event has been recognized, but nothing noticeable has changed. Further processing for this event may stop. Rendering the ui is not necessary.
Changed
The event has been recognized and there is some change due to it. Further processing for this event may stop. Rendering the ui is advised.
Hide
Popup should be hidden.
Trait Implementations§
Source§impl Clone for PopupOutcome
impl Clone for PopupOutcome
Source§fn clone(&self) -> PopupOutcome
fn clone(&self) -> PopupOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ConsumedEvent for PopupOutcome
impl ConsumedEvent for PopupOutcome
Source§fn is_consumed(&self) -> bool
fn is_consumed(&self) -> bool
Is this the ‘consumed’ result.
Source§fn or_else_try<F, E>(self, f: F) -> Result<Self, E>
fn or_else_try<F, E>(self, f: F) -> Result<Self, E>
Or-Else chaining with
is_consumed() as the split.Source§fn and_then<F>(self, f: F) -> Self
fn and_then<F>(self, f: F) -> Self
And_then-chaining based on is_consumed().
Returns max(self, f()).
Source§fn and_then_try<F, E>(self, f: F) -> Result<Self, E>
fn and_then_try<F, E>(self, f: F) -> Result<Self, E>
And_then-chaining based on is_consumed().
Returns max(self, f()).
Source§impl Debug for PopupOutcome
impl Debug for PopupOutcome
Source§impl From<PopupOutcome> for ChoiceOutcome
impl From<PopupOutcome> for ChoiceOutcome
Source§fn from(value: PopupOutcome) -> Self
fn from(value: PopupOutcome) -> Self
Converts to this type from the input type.
Source§impl From<PopupOutcome> for ComboboxOutcome
impl From<PopupOutcome> for ComboboxOutcome
Source§fn from(value: PopupOutcome) -> Self
fn from(value: PopupOutcome) -> Self
Converts to this type from the input type.
Source§impl From<PopupOutcome> for MenuOutcome
impl From<PopupOutcome> for MenuOutcome
Source§fn from(value: PopupOutcome) -> MenuOutcome
fn from(value: PopupOutcome) -> MenuOutcome
Converts to this type from the input type.
Source§impl From<PopupOutcome> for Outcome
impl From<PopupOutcome> for Outcome
Source§fn from(value: PopupOutcome) -> Outcome
fn from(value: PopupOutcome) -> Outcome
Converts to this type from the input type.
Source§impl HandleEvent<Event, Popup, PopupOutcome> for PopupCoreState
impl HandleEvent<Event, Popup, PopupOutcome> for PopupCoreState
Source§impl Ord for PopupOutcome
impl Ord for PopupOutcome
Source§fn cmp(&self, other: &PopupOutcome) -> Ordering
fn cmp(&self, other: &PopupOutcome) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PopupOutcome
impl PartialEq for PopupOutcome
Source§impl PartialOrd for PopupOutcome
impl PartialOrd for PopupOutcome
impl Copy for PopupOutcome
impl Eq for PopupOutcome
impl StructuralPartialEq for PopupOutcome
Auto Trait Implementations§
impl Freeze for PopupOutcome
impl RefUnwindSafe for PopupOutcome
impl Send for PopupOutcome
impl Sync for PopupOutcome
impl Unpin for PopupOutcome
impl UnwindSafe for PopupOutcome
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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