pub enum InspectorOutcome<E> {
Idle,
Accepted(ValueChange),
Invalid {
field: u64,
reason: InvalidEdit<E>,
},
}Expand description
One finished activation. Apply Accepted once, then rebuild the snapshot. Idle includes disabled input, cancellation, a held gesture and unchanged choice.
Variants§
Trait Implementations§
Source§impl<E> Clone for InspectorOutcome<E>where
E: Clone,
impl<E> Clone for InspectorOutcome<E>where
E: Clone,
Source§fn clone(&self) -> InspectorOutcome<E>
fn clone(&self) -> InspectorOutcome<E>
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<E> Debug for InspectorOutcome<E>where
E: Debug,
impl<E> Debug for InspectorOutcome<E>where
E: Debug,
Source§impl<E> PartialEq for InspectorOutcome<E>where
E: PartialEq,
impl<E> PartialEq for InspectorOutcome<E>where
E: PartialEq,
impl<E> Copy for InspectorOutcome<E>where
E: Copy,
impl<E> StructuralPartialEq for InspectorOutcome<E>
Auto Trait Implementations§
impl<E> Freeze for InspectorOutcome<E>where
E: Freeze,
impl<E> RefUnwindSafe for InspectorOutcome<E>where
E: RefUnwindSafe,
impl<E> Send for InspectorOutcome<E>where
E: Send,
impl<E> Sync for InspectorOutcome<E>where
E: Sync,
impl<E> Unpin for InspectorOutcome<E>where
E: Unpin,
impl<E> UnwindSafe for InspectorOutcome<E>where
E: UnwindSafe,
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