pub struct RefactoringAnalysis {
pub applicable: bool,
pub reason: Option<String>,
pub complexity: u8,
}Expand description
Analysis result for a refactoring
Fields§
§applicable: boolWhether the refactoring is applicable
reason: Option<String>Reason if not applicable
complexity: u8Estimated complexity (1-10)
Trait Implementations§
Source§impl Clone for RefactoringAnalysis
impl Clone for RefactoringAnalysis
Source§fn clone(&self) -> RefactoringAnalysis
fn clone(&self) -> RefactoringAnalysis
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 moreAuto Trait Implementations§
impl Freeze for RefactoringAnalysis
impl RefUnwindSafe for RefactoringAnalysis
impl Send for RefactoringAnalysis
impl Sync for RefactoringAnalysis
impl Unpin for RefactoringAnalysis
impl UnwindSafe for RefactoringAnalysis
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