pub enum FeedbackAction {
Correct,
Delete,
Add,
NegativePreference,
}Expand description
Action to take when user feedback is detected.
Variants§
Trait Implementations§
Source§impl Clone for FeedbackAction
impl Clone for FeedbackAction
Source§fn clone(&self) -> FeedbackAction
fn clone(&self) -> FeedbackAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FeedbackAction
impl Debug for FeedbackAction
Source§impl PartialEq for FeedbackAction
impl PartialEq for FeedbackAction
Source§fn eq(&self, other: &FeedbackAction) -> bool
fn eq(&self, other: &FeedbackAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FeedbackAction
Auto Trait Implementations§
impl Freeze for FeedbackAction
impl RefUnwindSafe for FeedbackAction
impl Send for FeedbackAction
impl Sync for FeedbackAction
impl Unpin for FeedbackAction
impl UnsafeUnpin for FeedbackAction
impl UnwindSafe for FeedbackAction
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