pub struct PerformanceIssue {
pub issue_type: PerformanceIssueType,
pub location: Span,
pub description: String,
pub suggestion: Option<String>,
pub impact: PerformanceImpact,
}
Expand description
Performance issue found in the code
Fields§
§issue_type: PerformanceIssueType
§location: Span
§description: String
§suggestion: Option<String>
§impact: PerformanceImpact
Trait Implementations§
Source§impl Clone for PerformanceIssue
impl Clone for PerformanceIssue
Source§fn clone(&self) -> PerformanceIssue
fn clone(&self) -> PerformanceIssue
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for PerformanceIssue
impl RefUnwindSafe for PerformanceIssue
impl Send for PerformanceIssue
impl Sync for PerformanceIssue
impl Unpin for PerformanceIssue
impl UnwindSafe for PerformanceIssue
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