pub enum RefactoringCategory {
TooManyParameters,
HighComplexity,
LongMethod,
}Expand description
Category of refactoring opportunity identified by RefactoringAnalyzer.
Variants§
TooManyParameters
Subroutine has more parameters than the configured maximum.
HighComplexity
Cyclomatic complexity exceeds the configured threshold.
LongMethod
Subroutine body is longer than the configured line limit.
Trait Implementations§
Source§impl Clone for RefactoringCategory
impl Clone for RefactoringCategory
Source§fn clone(&self) -> RefactoringCategory
fn clone(&self) -> RefactoringCategory
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 Debug for RefactoringCategory
impl Debug for RefactoringCategory
Source§impl PartialEq for RefactoringCategory
impl PartialEq for RefactoringCategory
impl StructuralPartialEq for RefactoringCategory
Auto Trait Implementations§
impl Freeze for RefactoringCategory
impl RefUnwindSafe for RefactoringCategory
impl Send for RefactoringCategory
impl Sync for RefactoringCategory
impl Unpin for RefactoringCategory
impl UnsafeUnpin for RefactoringCategory
impl UnwindSafe for RefactoringCategory
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