#[non_exhaustive]pub enum PullOutcome {
Unchanged,
Repaint,
Relayout,
}Expand description
What a widget’s pull hook (BuildContext::on_trigger_pull) did with
the data it took in.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unchanged
Nothing the widget shows changed.
Repaint
What it paints changed. A widget that is shown repaints in this frame; one that is not repaints when it is shown again, and its window draws nothing for it now.
Relayout
Its size or what layout reads changed: it and its ancestors relayout, and it repaints.
Trait Implementations§
Source§impl Clone for PullOutcome
impl Clone for PullOutcome
impl Copy for PullOutcome
Source§impl Debug for PullOutcome
impl Debug for PullOutcome
impl Eq for PullOutcome
Source§impl PartialEq for PullOutcome
impl PartialEq for PullOutcome
impl StructuralPartialEq for PullOutcome
Auto Trait Implementations§
impl Freeze for PullOutcome
impl RefUnwindSafe for PullOutcome
impl Send for PullOutcome
impl Sync for PullOutcome
impl Unpin for PullOutcome
impl UnsafeUnpin for PullOutcome
impl UnwindSafe for PullOutcome
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