pub enum Outcome {
    NotUsed,
    Unchanged,
    Changed,
}Expand description
Result value for event-handling. Used widgets in this crate.
Variants§
NotUsed
The given event was not handled at all.
Unchanged
The event was handled, no repaint necessary.
Changed
The event was handled, repaint necessary.
Trait Implementations§
source§impl From<ButtonOutcome> for Outcome
 
impl From<ButtonOutcome> for Outcome
source§fn from(value: ButtonOutcome) -> Self
 
fn from(value: ButtonOutcome) -> Self
Converts to this type from the input type.
source§impl HandleEvent<Event, FocusKeys, Outcome> for TextInputState
 
impl HandleEvent<Event, FocusKeys, Outcome> for TextInputState
source§impl HandleEvent<Event, MouseOnly, Outcome> for TextInputState
 
impl HandleEvent<Event, MouseOnly, Outcome> for TextInputState
source§impl PartialEq for Outcome
 
impl PartialEq for Outcome
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
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