pub enum CloneGroupActionType {
ExtractShared,
SuppressLine,
}Expand description
Discriminant for CloneGroupAction::kind. Mirrors the action types
emitted by the legacy build_clone_group_actions walker.
Variants§
Extract the duplicated code into a shared function.
SuppressLine
Suppress the finding with an inline comment above the duplicated code.
Trait Implementations§
Source§impl Clone for CloneGroupActionType
impl Clone for CloneGroupActionType
impl Copy for CloneGroupActionType
Source§impl Debug for CloneGroupActionType
impl Debug for CloneGroupActionType
impl Eq for CloneGroupActionType
Source§impl PartialEq for CloneGroupActionType
impl PartialEq for CloneGroupActionType
Source§impl Serialize for CloneGroupActionType
impl Serialize for CloneGroupActionType
impl StructuralPartialEq for CloneGroupActionType
Auto Trait Implementations§
impl Freeze for CloneGroupActionType
impl RefUnwindSafe for CloneGroupActionType
impl Send for CloneGroupActionType
impl Sync for CloneGroupActionType
impl Unpin for CloneGroupActionType
impl UnsafeUnpin for CloneGroupActionType
impl UnwindSafe for CloneGroupActionType
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.