pub enum CloneFamilyActionType {
ExtractShared,
ApplySuggestion,
SuppressLine,
}Expand description
Discriminant for CloneFamilyAction::kind.
Variants§
Extract the duplicated code blocks into a shared module.
ApplySuggestion
Apply one of the family’s refactoring suggestions.
SuppressLine
Suppress with an inline comment above the duplicated code.
Trait Implementations§
Source§impl Clone for CloneFamilyActionType
impl Clone for CloneFamilyActionType
impl Copy for CloneFamilyActionType
Source§impl Debug for CloneFamilyActionType
impl Debug for CloneFamilyActionType
impl Eq for CloneFamilyActionType
Source§impl PartialEq for CloneFamilyActionType
impl PartialEq for CloneFamilyActionType
Source§impl Serialize for CloneFamilyActionType
impl Serialize for CloneFamilyActionType
impl StructuralPartialEq for CloneFamilyActionType
Auto Trait Implementations§
impl Freeze for CloneFamilyActionType
impl RefUnwindSafe for CloneFamilyActionType
impl Send for CloneFamilyActionType
impl Sync for CloneFamilyActionType
impl Unpin for CloneFamilyActionType
impl UnsafeUnpin for CloneFamilyActionType
impl UnwindSafe for CloneFamilyActionType
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> Equivalent<K> for Q
impl<Q, K> Equivalent<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.